Hello Hugh,
Yes, there’s definitely some confusion surrounding the various message IDs.
You should use the #3 Gmail Message ID when you want to modify labels, not #2 Email ID (UID) as indicated in the Make documentation.
We can all agree on the fact that Make’s documentation is incorrect.
I had time today to make this work, so here are some screenshots:
In Gmail, I have a filter set up to label and forward specific pieces of mail.
- In this case the Label is “Test”.
- Mail is forwarded to the Mailhook.
Scenario #1: Mailhook trigger → Make Run a Scenario
Scenario #2: Gmail Watch Emails (filter those Unread with a “Test” Label, then mark it as Read) → Gmail Modify Email Labels (Label it as “Read-Processed”)
Scenario #1 executes Scenario #2.
Since Scenario #1 is triggered by a Mailhook it’s as near instant as a Webhook.
Since Scenario #2 is triggered by a Gmail module, I have access to the GMail Message ID needed to modify its labels.
I believe this would be a good work-around for Jared.