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.
Send Emails: SuperAGI's Email Tool uses its comprehensive language model capabilities to create personalised, context-aware emails, sparing you effort and time.
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.
Send Emails with Attachments: Send attachments in emails with ease to expand the scope of your message.
Custom Email Signature: Create a unique signature for each email you send to add a touch of customization and automation.
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
Add the following configuration in the Email Toolkit Page:
- 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.)
- Provider-specific settings:
- If not using Gmail, modify 'EMAIL_SMTP_HOST', 'EMAIL_SMTP_PORT', AND 'EMAIL_IMAP_HOST' according to your email service provider.
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.
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:
- Navigate to the link (https://myaccount.google.com/apppasswords)
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
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)
Running SuperAGI Email Tool
- 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
- 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 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.