Every new Gmail email becomes a Notion task, with Claude's action items and summary already on the page.
Uses
Claude
GmailNotion
Turn every new email into a Notion task with its to-dos
email.When an email arrives. Save it as email.tasksDatabaseId to blank.Set tasksDatabaseId to blank.titleProperty to Name.Set titleProperty to Name.email.subject and save it as emailSubject.Trim email.subject and save it as emailSubject.email.from and save it as emailFrom.Trim email.from and save it as emailFrom.email.date and save it as emailReceived.Trim email.date and save it as emailReceived.email.body to 12000 characters and save it as emailBody.Shorten email.body to 12000 characters and save it as emailBody.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: 600emailFrom
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: 500subject, 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.page.title in tasksDatabaseId.Create the page page.title in tasksDatabaseId.