Google Mail
Notion
playbook Template

Classify past emails as wanted or unwanted and save to Notion

This automation will find emails from your specified timeframe and categorize them as wanted or unwanted based on your classifier. It will then save the results to a Notion database.

This is a Bardeen playbook. It's a pre-built automation template you can run in one-click to perform a repetitive task. Get started with our free Chrome extension.

Explore other automations
This playbook has been deprecated.
Explore Bardeen's playbook catalog for other automations or build your own.

How does this automation work?

Find emails
Action
Classify customized text
Action
Create Notion page
Action

Bardeen's playbook offers a solution to manage your inbox more effectively by classifying emails as wanted or unwanted and saving them to Notion. This automation is designed for personal productivity, allowing users to filter through their past emails within a specific timeframe. By categorizing these emails and transferring the organized information to Notion, you can declutter your inbox and streamline your workflow.

Here's how this workflow processes email classification and integrates with Notion:

  • Step 1: Find Emails - Search your Gmail account for emails within the specified dates. You'll be prompted to enter the date range, ensuring that only relevant emails are fetched.
  • Step 2: Classify Emails - Bardeen AI Actions will analyze and classify the text from your emails. You will define the classification task, determining how emails are sorted as wanted or unwanted.
  • Step 3: Save to Notion - The classified email data is then added to a Notion database. Notion acts as a versatile workspace where your categorized emails can be stored and accessed easily.
Run this Google Mail automation with Bardeen in minutes.

How to run the playbook

Tired of sifting through a cluttered inbox, drowning in a sea of emails? Frustrated with the constant battle against unwanted messages? Look no further. This automation is here to bring order to your digital world.

Imagine effortlessly identifying and segregating emails within a specified timeframe, tailored to your preferences. Say goodbye to the hours wasted on manual sorting. Whether it's crucial client communications or pesky spam, our automation uses your customized classifier to categorize them swiftly.

The results are seamlessly saved to your Notion database, ensuring your important information is neatly organized and easily accessible. Streamline your email management process and regain control over your inbox. It's time to simplify your digital life.

Let’s set it up!

Step 1: Create a Notion database

The first step is to create a Notion database with the email information you want to save.

Bardeen will extract information from your emails like subject line, sender, date, link to email, labels and pair them with the information from your classifier, once your setup is complete.

Step 2: Install the extension and map the information to Notion

You will be redirected to install the browser extension when you run it for the first time. Bardeen will also prompt you to integrate Notion.

Click the “Pin it” button at the top of this page to get this automation saved to your Playbooks.

Activate Bardeen (or hit Option + B on Mac or ALT + B on PC on your keyboard) and click on the playbook card. The setup flow will start.

Bardeen will then prompt you to modify your email classifier. You can choose an existing one or create a new classifier with criteria for your emails. 

After you click “customize classifier”, Bardeen’s classifier configuration will launch. You will be asked questions about the emails you want to keep. Answer in as much detail as possible. This will ensure that the classifier is more accurate.

After you answer your questions, Bardeen will request that you create your categories. Your emails will be classified based on your categories and descriptions here. For example, I entered “Emails with Invoice” as a category and added a description. Emails that fit that description will be categorized as “Emails with Invoice” and any other emails will be categorized as “unwanted”.

Finally, we recommend that you train your classifier with sample emails to increase accuracy of the results. 

After your classifier setup is complete and you choose your Notion database, Bardeen will ask you to map your fields to Notion.

The left side consists of all the fields Bardeen will scrape for you. On the right side, specify the fields in Notion that you want to associate with the information on the left. If you don’t want a piece of information, leave that field empty, and it will be skipped. That’s it!

Click on “Save Input” and checkmark Notion. You can edit Inputs later by hovering over the playbook. 

Step 3: Run the playbook to classify past emails and save to Notion

Press Option + B on Mac or ALT + B on PC on your keyboard to launch Bardeen. Click on the playbook card and run the playbook to classify your emails from a timeframe. It will go over every email for the timeframe, categorize them based on your classifier and save the results and classification to your Notion database.

You can also edit the playbook and add your next action to further customize the automation.

Find more Gmail and Notion integrations.

You can also find more about how to increase your personal productivity.

Run this Google Mail automation with Bardeen in minutes.

Available actions & triggers

Apps:
Classify past emails as wanted or unwanted and save to Notion
Classify past emails as wanted or unwanted and save to Notion
Classify past emails as wanted or unwanted and save to Notion
Types:
Both
Actions
Triggers
When email is sent to my trigger address
When email is sent to my trigger address
Trigger
When Notion database record is added or updated
When Notion database record is added or updated
Trigger
Find email thread from current page
Find email thread from current page
Action
When Notion page is created or updated
When Notion page is created or updated
Trigger
Delete email
Delete email
Action
Delete Notion page
Delete Notion page
Action
When Notion page is created
When Notion page is created
Trigger
Find emails
Find emails
Action
Open Notion page
Open Notion page
Action
Get Notion page title
Get Notion page title
Action
how does bardeen work?

Your proactive teammate — doing the busywork to save you time

Integrate your apps and websites

Use data and events in one app to automate another. Bardeen supports an increasing library of powerful integrations.

Perform tasks & actions

Bardeen completes tasks in apps and websites you use for work, so you don't have to - filling forms, sending messages, or even crafting detailed reports.

Combine it all to create workflows

Workflows are a series of actions triggered by you or a change in a connected app. They automate repetitive tasks you normally perform manually - saving you time.

get bardeen

Don't just connect your apps, automate them.

200,000+ users and counting use Bardeen to eliminate repetitive tasks

Effortless setup
AI powered workflows
Free to use
The #1 AI Automation Extension for Chrome

FAQs

Bardeen - Playbook / Autobooks: Is it possible to create a Playbook that scrapes data from a website and sends it as an email attachment?

You can create a Bardeen Playbook to scrape data from a website and then send that data as an email attachment.

Youtube: Can I download a Youtube video to my computer using Bardeen?

Unfortunately, Bardeen is not able to download videos to your computer.

Google Sheets: What is the best way to export data to Google Sheets?

Exporting data (ex: scraped data or app data) from Bardeen to Google Sheets is possible with our action to “Add Rows to Google Sheets”.

Meetings: Is there a playbook to record and summarize meetings?

There isn't a specific AI use case available for automatically recording and summarizing meetings at the moment

Playbooks/Autobooks: How do I edit an action in a Playbook or Autobook?

Please follow the following steps to edit an action in a Playbook or Autobook.

Scraper: How can I get data from multiple sections of a profile (Eg: getting the experience section on a linkedin profile)?

Cases like this require you to scrape the links to the sections and use the background scraper to get details from every section.

By clicking “Accept”, you agree to the storing of cookies. View our Privacy Policy for more information.