Simple Email to Notion

Organizes incoming emails, attachments, and action items into structured Notion databases
Created by
Matthias Frank
Matthias Frank
Notion Consultant
Relay.app screenshot of: Simple Email to Notion

Steps in this workflow

1
Gmail logo
Email received
2
Notion logo
Add page to database
3
repeat
Iterator
4
Google Drive logo
Upload file
5
Notion logo
Add page to database
6
OpenAI logo
Prompt GPT-4.1 Mini
7
repeat
Iterator
8
Notion logo
Add page to database
9
Notion logo
Find page(s) in database
10
Paths
A
Found Contact
11
Notion logo
Update page

Automatically capture and organize your emails, attachments, and action items in Notion. This workflow activates when receiving Gmail messages, creates a page in your Notion database with the email content, and uploads any attachments to Google Drive with references in Notion. It uses AI to analyze email text and identify tasks with due dates and priorities, adding each as a separate Notion entry. The workflow also checks if contact information already exists in your database and either updates existing entries or creates new ones as needed.

1
Gmail logo
Email received

Activates when a new email is received in your Gmail inbox. You can configure whether the workflow triggers only for the first email in a conversation or for all emails.

Relay.app screenshot of: Email received
2
Notion logo
Add page to database

Creates a new page in your specified Notion database containing the full content of the email. The email body is transferred directly to the Notion page with its formatting preserved.

Relay.app screenshot of: Add page to database
3
repeat
Iterator

Processes each attachment from the email. For each attachment found in the email, the workflow will execute steps to upload it to Drive and create a reference in Notion.

Relay.app screenshot of: Iterator
Iterator steps
4
Google Drive logo
Upload file

Uploads each email attachment to Google Drive. The file is stored in your Drive account where you can configure a specific parent folder if needed.

Relay.app screenshot of: Upload file
5
Notion logo
Add page to database

Creates a Notion page for each uploaded attachment. This page contains information about the file and links to the Google Drive location.

Relay.app screenshot of: Add page to database
6
Prompt GPT-4.1 Mini

Uses AI to analyze the email content and identify action items. The AI extracts tasks, due dates, and priority levels from the email body, focusing only on actual tasks requiring action.

Prompt used
You are an expert personal assistant tasked with identifying action items and tasks in emails. Your job is to carefully analyse the content of emails and extract: 1. All tasks or action items mentioned 2. Due dates associated with each task (if specified) 3. Priority level (if indicated) Process: - Read the entire email thoroughly before identifying tasks - Look for explicit requests ("Please send...", "Could you...", "We need...") - Identify implicit tasks (commitments, expectations, follow-ups) - Pay attention to temporal indicators for due dates ("by Friday", "next week", "tomorrow", "ASAP") - Note any priority indicators ("urgent", "important", "when you get a chance") Only include actual tasks that require action - avoid listing general information or statements that don't require action. Here is the email to analyse: Email Subject: [data] - sent at [data] [data]
Relay.app screenshot of: Prompt GPT-4.1 Mini
7
repeat
Iterator

Processes each action item identified by the AI. For each task found in the email, the workflow will create a separate entry in your task database.

Relay.app screenshot of: Iterator
Iterator steps
8
Notion logo
Add page to database

Creates a Notion page for each action item with its details. Each task is added to your configured database with information about the task description, due date, and priority level.

Relay.app screenshot of: Add page to database
9
Notion logo
Find page(s) in database

Searches your Notion database for existing contact information. This step checks if contact details from the email already exist in your database.

Relay.app screenshot of: Find page(s) in database
10
Paths
AFound Contact
BNo Contact Found
This path will be taken when the rules below match.
Relay.app screenshot of: Found Contact
Steps in Path A
11
Notion logo
Update page

Updates an existing Notion page with new information. When a matching contact is found, this step updates the existing entry with the latest details from the email.

Relay.app screenshot of: Update page