The Auto-GPT Email Plugin is an innovative and powerful plugin for the groundbreaking base software, Auto-GPT. Harnessing the capabilities of the latest Auto-GPT architecture, Auto-GPT aims to autonomously achieve any goal you set, pushing the boundaries of what is possible with artificial intelligence. This email plugin takes Auto-GPT to the next level by enabling it to send and read emails, opening up a world of exciting use cases.
Unlock the full potential of your email management with the Auto-GPT Email Plugin and revolutionize your email experience today! π
Follow these steps to configure the Auto-GPT Email Plugin:
Clone this repository and navigate to the Auto-GPT-Email-Plugin
folder in your terminal:
git clone https://github.com/riensen/Auto-GPT-Email-Plugin.git
Execute the following command to install the necessary dependencies:
pip install -r requirements.txt
Compress the Auto-GPT-Email-Plugin
folder or download the repository as a zip file.
If you haven't already, clone the Auto-GPT repository, follow its installation instructions, and navigate to the Auto-GPT
folder.
Transfer the zip file from step 3 into the plugins
subfolder within the Auto-GPT
repo.
.env.template
fileFind the file named .env.template
in the main /Auto-GPT
folder.
Duplicate the .env.template
file and rename the copy to .env
inside the /Auto-GPT
folder.
.env
fileOpen the .env
file in a text editor. Note: Files starting with a dot might be hidden by your operating system.
Append the following configuration settings to the end of the file:
################################################################################
### EMAIL (SMTP / IMAP)
################################################################################
EMAIL_ADDRESS=
EMAIL_PASSWORD=
EMAIL_SMTP_HOST=smtp.gmail.com
EMAIL_SMTP_PORT=587
EMAIL_IMAP_SERVER=imap.gmail.com
#Optional Settings
EMAIL_MARK_AS_SEEN=False
EMAIL_SIGNATURE="This was sent by Auto-GPT"
EMAIL_DRAFT_MODE_WITH_FOLDER=[Gmail]/Drafts
Email address and password:
EMAIL_ADDRESS
to your sender email address.EMAIL_PASSWORD
to your password. For Gmail, use an App Password.Provider-specific settings:
EMAIL_SMTP_HOST
, EMAIL_IMAP_SERVER
, and EMAIL_SMTP_PORT
according to your email provider's settings.Optional settings:
EMAIL_MARK_AS_SEEN
: By default, processed emails are not marked as SEEN
. Set to True
to change this.EMAIL_SIGNATURE
: By default, no email signature is included. Configure this parameter to add a custom signature to each message sent by Auto-GPT.EMAIL_DRAFT_MODE_WITH_FOLDER
: Prevents emails from being sent and instead stores them as drafts in the specified IMAP folder. [Gmail]/Drafts
is the default drafts folder for Gmail.In your .env
search for ALLOWLISTED_PLUGINS
and add this Plugin:
################################################################################
### ALLOWLISTED PLUGINS
################################################################################
#ALLOWLISTED_PLUGINS - Sets the listed plugins that are allowed (Example: plugin1,plugin2,plugin3)
ALLOWLISTED_PLUGINS=AutoGPTEmailPlugin
Experience the plugin's capabilities by testing it for sending and receiving emails.
Configure Auto-GPT: Set up Auto-GPT with the following parameters:
CommunicatorGPT
Communicate
Send an email toΒ my-email-plugin-test@trash-mail.comΒ to introduce yourself
Terminate
Run Auto-GPT: Launch Auto-GPT, which should use the email plugin to send an email to my-email-plugin-test@trash-mail.com.
Verify the email: Check your outbox to confirm that the email was sent. Visit trash-mail.com and enter your chosen email to ensure the email was received.
Sample email content: Auto-GPT might send the following email:
Hello,
My name is CommunicatorGPT, and I am an LLM. I am writing to introduce myself and to let you know that I will be terminating shortly. Thank you for your time.
Best regards,
CommunicatorGPT
Send a test email:
Compose an email with a simple question from a trash-mail.com email address to your configured EMAIL_ADDRESS
in your .env
file.
Configure Auto-GPT: Set up Auto-GPT with the following parameters:
CommunicatorGPT
Communicate
Read my latest emails
Send back an email with an answer
Terminate
Run Auto-GPT: Launch Auto-GPT, which should automatically reply to the email with an answer.
Send a test email:
Compose an email with a simple question from a trash-mail.com email address to your configured EMAIL_ADDRESS
in your .env
file.
Place attachment in Auto-GPT workspace folder Insert the attachment intended for sending into the Auto-GPT workspace folder, typically named auto_gpt_workspace, which is located within the cloned Auto-GPT Github repository.
Configure Auto-GPT: Set up Auto-GPT with the following parameters:
CommunicatorGPT
Communicate
Read my latest emails
Send back an email with an answer and always attach happy.png
Terminate
Run Auto-GPT: Launch Auto-GPT, which should automatically reply to the email with an answer and the attached file.