I want to create a scenario that INSTANTLY triggers every time a new email meeting the specified filter arrives in my inbox.
Here are the problems I have run into:
The Gmail Watch module is a POLL module and not an INSTANT one. I either have to run the scenario manually every time I get a new email that meets the criteria I set up, or I have to set a timer (e.g., every 15 minutes), which I don’t want to do.
Then I created a custom Mailhook. Works fine. But I can only use the Get email function after this. I can’t use the Gmail or Email Watch functions. (I guess since they’re considered triggers, too?)
So even when I receive a new email matching the criteria, and the Mailhook triggers, it retrieves the first email in the Gmail filter search that matches the criteria, and it’s not the newest email.
Everything else in my scenario is working as expected, but I have searched the forums for hours (yes, hours, along with editing my scenario) and I cannot find any who has solved the “instant Gmail” issue.
what is the issue with the custom Mailhook exactly? This is the go to method to get instant triggers when an email arrives. It is used to replace the Watch module, not before it.
Im not sure what you are using but if you replace the Watch module with a Custom Mailhook module, you can then paste that mailhook as a forwarding address in Gmail and all new emails will get forwarded there - thus instantly triggering the scenario when a new email arrives.
Can you show your configuration at the moment so we can see why its working in a different way?
That’s exactly what I’m doing. The Mailhook is working. The issue is that it’s retrieving the OLDEST email and NOT the NEW email that triggers the scenario.
Literally just a couple of weeks ago, the Make team released a new version of the Gmail module that is instant, however, it was a bit buggy so they pulled it back into Beta while they worked on it. Here’s hoping they sort it soon and re-release a more stable version
I made a post once I discovered it, and you can read there the Make team’s response:
That’s not how the Mailhook triggers work. It only receives what Gmail sends to it, and it does not call Gmail to search anything. Delete the Email “Get Emails” module, and solely use the data from the Mailhook trigger module to access the latest email.
You should also do the Make Academy to find out more about trigger modules.
Hope this helps! Let me know if there are any further questions or issues.