Skip to main content

Email

The SuperAGI Email Tool lets users send and read emails while providing a foundation for other use cases.

Features

1.Read Emails: With SuperAGI's Email Tool, you can manage your inbox and ensure that you never overlook a critical detail.

  1. Send Emails: SuperAGI's Email Tool uses its comprehensive language model capabilities to create personalised, context-aware emails, sparing you effort and time.

  2. Save Emails to Drafts Folder: By allowing SuperAGI to develop email draughts that you can examine and modify before sending, you'll gain greater control and make sure your messages are tailored to your tastes.

  3. Send Emails with Attachments: Send attachments in emails with ease to expand the scope of your message.

  4. Custom Email Signature: Create a unique signature for each email you send to add a touch of customization and automation.

  5. Auto-Reply and Answer Questions: Allow SuperAGI to read, analyse, and respond to incoming emails with precise answers to streamline your email responses.

Installation

Add Email configuration settings SuperAGI's Dashboard

Config_Page

Add the following configuration in the Email Toolkit Page:

  1. Email address and password:
  • Set 'EMAIL_ADDRESS' to sender's email address
  • Set 'EMAIL_PASSWORD' to your Password. If using Gmail, use App Password (Follow the steps given below to obtain your app password.)
  1. Provider-specific settings:
  • If not using Gmail, modify 'EMAIL_SMTP_HOST', 'EMAIL_SMTP_PORT', AND 'EMAIL_IMAP_HOST' according to your email service provider.
  1. Sending and Drafts:

    • You can set the EMAIL_DRAFT_MODE to "FALSE" if you'd like your email to be directly sent and "TRUE" if you'd like to save your emails in Draft.
    • If you're setting Draft Mode to True, Make sure to add the draft folder for your email service provider to prevent it from being sent.
  2. Optional Settings:

  • Change the 'EMAIL_SIGNATURE' to your personalize signature.

Obtain your App Password

To obtain App password for your Gmail Account follow the steps:

app_password

  • To get the App Password ensure that you have set up 2-Step Verification for your email address.

  • Generate the password by creating a custom app

password

  • Copy the password generated and use it for 'EMAIL_PASSWORD'

  • Also make sure IMAP Access is enabled for your Gmail Address (Settings > See all settings > Forwarding and POP/IMAP > Enable IMAP)

imap_enable

Running SuperAGI Email Tool

  1. Read an email

By default SuperAGI's email tool reads last 10 emails from your inbox, to change the limit you can modify the default limit in read_email.py

  1. Send an email

To send an email to a particular receiver, mention the receiver's ID in your goal. Email will be stored in drafts if in case receiver's email address is not mentioned.

send_email

  1. Send an email with attachment

SuperAGI can send Emails with Attachments if you have uploaded the file in the Resource Manager, or if your file is in the Input or the Output of your SuperAGI Workspace.

attachment