riensen / Auto-GPT-Email-Plugin

Revolutionize email management with the Auto-GPT Email Plugin, leveraging AI to automate drafting, intelligent replies, and seamless inbox control.
MIT License
141 stars 14 forks source link

Testing with Google Workspace #13

Open bjornfix opened 1 year ago

bjornfix commented 1 year ago

I have set up a separate e-mail account for the bot in our org.

I logged in to the account to check that it works from web, and have made sure IMAP is active.

When doing your test as you describe, I get command read_emails returned: Error: b'[AUTHENTICATIONFAILED] Invalid credentials (Failure)'

It's the same password I used to log in to this account on web, so I know it's not that.

Ismatpg commented 1 year ago

you have to set a application password as indicated in the readme file, your password will not work

bjornfix commented 1 year ago

Okay. I tested now with my own email account. It did log on to the mail and tried to send an email to supervisor@example.com for some reason. Then I told it to change it to supervisor@devenia.com

It then went on and saved it as a draft it claimed. I found no draft with the email it was supposed to send. So it did neither. Hallucinations I suppose.

Ismatpg commented 1 year ago

It seems like you activated the option EMAIL_DRAFT_MODE_WITH_FOLDER as described in https://github.com/riensen/Auto-GPT-Email-Plugin#9-add-email-configuration-settings If you want to send emails, then just delete the key from the .env

bjornfix commented 1 year ago

Ok. I'll have a look at the .env again.