I have a scenario that seems to be working ok so far, I am trying to add a Gmail label to emails that have an attachment. But I get an “Invalid id value” when I try to pass the message-id in to the Gmail Message ID* field.
Also can I ask of my filter is set up correctly, I have a filter that checks if the “MIME type” exists , and then I proceed to route the flow to the next module:
All good, I think I might have figured it out - since I’m using a Gmail module, the message-id will always vary as users would be sending via various email clients e.g hotmail, gmail, yahoo, outlook etc. So the module will error out when its not in the format Gmail requires.
How’s it going with this? Could you use the Gmail Watch Emails module, instead of the Make built-in one? The IDs should then match when you pass them on to the Modify Email Labels module. You can even use the has:attachment command in the filter in the Gmail module to only return those with attachments.
I managed to get it working I think, I didn’t use the Gmail module in the end and have a filter to check if the attachment exists or not. These are the settings on the filters:
I’ll let it run for a few days and see if its working as intended, not sure the delete email module is processing though, so something I need to check.
I would still recommend using the Gmail email module so that the IDs match. But have you tried mapping to the id field exposed by the generic built-in Watch Emails module that you’re already using, rather than the email ID from the headers?