I’m trying to understand if this is possible with existing permissions systems. Suppose I’m entirely within a Google ecosystem (Gmail, Google Calendar, Android). I often have calls scheduled, but don’t remember the context – who is the person I’m meeting, what was the conversation leading up to scheduling this? I would love to be able to automatically grab context from emails and (if possible) texts with this person, generate a summary of the context around the call, and attach it to the calendar event. Is this currently possible for me to build? (I assume Google could build it themselves, although permissions access to Messages might be a problem)
As far as I can see, yes, that’s possible… partially.
n8n has nodes to find emails in Gmail based on some filters (they have limitations, though).
n8n also has a Google Calendar node to update an event’s description.
But I don’t think it’s possible to grab messages or SMS with it (unless there are some 3rd party services for that; then you can do it with the HTTP node)
Hi @benjiwheeler Welcome!
Run it off a Schedule Trigger the night before rather than off the invite, since most of the useful context lands after the event was created. Pull the next day’s events with Google Calendar Get Many, then use each attendee’s email as the join key into a Gmail Thread Get Many with from:them OR to:them in the Search filter, and summarize per event.
The event description is visible to every guest, and the Update operation emails them a change notification unless you turn Send Updates off, so a brief about the person you are meeting is better sent to yourself than written into the shared event.
This template does the calendar to email-thread to brief chain end to end: