Every new Gmail email becomes a Notion task, with Claude's action items and summary already on the page.

UsesClaudeGmailNotion

Turn every new email into a Notion task with its to-dos

GmailGmailWhen an email arrives. Save it as email.When an email arrives. Save it as email.
ValuesSet tasksDatabaseId to blank.Set tasksDatabaseId to blank.
ValuesSet titleProperty to Name.Set titleProperty to Name.
TextTrim email.subject and save it as emailSubject.Trim email.subject and save it as emailSubject.
TextTrim email.from and save it as emailFrom.Trim email.from and save it as emailFrom.
TextTrim email.date and save it as emailReceived.Trim email.date and save it as emailReceived.
TextShorten email.body to 12000 characters and save it as emailBody.Shorten email.body to 12000 characters and save it as emailBody.
ClaudeClaudeAsk Claude: 'You are triaging an email for the person who received it, and what you write becomes the checklist they work from. The body below is whatever the mail server gave us, so it may be raw HTML, and it may end in a quoted reply chain: read through the markup and ignore anything quoted from an earlier message.Ask Claude: 'You are triaging an email for the person who received it, and what you write becomes the checklist they work from. The body below is whatever the mail server gave us, so it may be raw HTML, and it may end in a quoted reply chain: read through the markup and ignore anything quoted from an earlier message. FROM emailFrom SUBJECT emailSubject RECEIVED emailReceived EMAIL emailBody List every concrete thing the recipient now has to do. Rules: - One task per line, each line starting with '- '. - Start each task with a verb: 'Send Dana the Q3 renewal quote by Friday', 'Book the vendor call'. - Carry the deadline, amount, name or link the task needs into the line itself, so it can be done without reopening the email. - At most five tasks, ordered by what has to happen first. - Only tasks for the recipient. Something the sender promised to do is not a task, and neither is 'read this email'. - If the email asks nothing of the recipient — a newsletter, a receipt, a notification, an FYI — reply with exactly NONE and nothing else. Write only the task lines: no heading, no numbering, no commentary.'. Save it as actionItems. Maximum response length: 600
ClaudeClaudeAsk Claude: 'Summarise this email for someone who will read your summary instead of opening it. The body may be raw HTML and may end in a quoted reply chain; read through the markup and ignore anything quoted from an earlier message.Ask Claude: 'Summarise this email for someone who will read your summary instead of opening it. The body may be raw HTML and may end in a quoted reply chain; read through the markup and ignore anything quoted from an earlier message. FROM emailFrom SUBJECT emailSubject RECEIVED emailReceived EMAIL emailBody Write two to four sentences of plain prose covering what the email is about, what it asks for, and anything that is time-bound, costs money or commits the recipient to something. Keep the names, dates, amounts and decisions; drop greetings, signatures, legal footers and quoted history. Do not open with 'This email', do not add a heading or bullets, and do not add a closing line — write the summary and stop.'. Save it as summary. Maximum response length: 500
CodeRun Python code on subject, sender, received, thread_id, summary, and action_items and save it as page.Run Python code on subject, sender, received, thread_id, summary, and action_items and save it as page.
NotionNotionCreate the page page.title in tasksDatabaseId.Create the page page.title in tasksDatabaseId.