How can I run a function when I receive an email?

This post describes how a device can initiate a post request to Gmail, but I would like to know, is there a way for Gmail to run a function that I published? Specifically, when I receive an email matching certain criteria (e.g. I recieve an email addressed to my.email+test@gmail.com instead of my.email@gmail.com)

If you want to use email to trigger things in Particle, you will need a middle layer to do the translation. For your use case, I might suggest filtering for inbound emails using your address criteria, conditionally forwarding them to Zapier, and then using Zapier to hit our API.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.