Auto-GPT-Plugins icon indicating copy to clipboard operation
Auto-GPT-Plugins copied to clipboard

Email plugin error

Open 1illeke opened this issue 2 years ago • 6 comments

Command send_email returned: Error: b'[AUTHENTICATIONFAILED] Invalid credentials (Failure)'

I have in the .env file pasted the email part and added corrct credentials. I use Gmail. even addded a txt file to autgpts workspace with correct credentials and it reads them and says that they are correct. But still gives an error.

This is an error from a try where i gave a txt file with correct credentials. But its the same when i dont give the txt file.

THOUGHTS: I have verified that the correct credentials are being used. I will now use the 'send_email' command to send the email again. REASONING: Since the credentials have been verified, I can use the 'send_email' command to send the email again. PLAN:

  • Use the 'send_email' command to send the email CRITICISM: I need to ensure that the email is properly composed before sending it. NEXT ACTION: COMMAND = send_email ARGUMENTS = {'to': '[email protected]', 'subject': 'Second Introduction', 'body': "Hello again,\n\nI just wanted to follow up on my previous email and reiterate that I am available to assist you with any email-related tasks you may have. Please don't hesitate to reach out if you need anything.\n\nBest regards,\nGmailBotGPT"} SYSTEM: Command send_email returned: Error: b'[AUTHENTICATIONFAILED] Invalid credentials (Failure)'

1illeke avatar May 05 '23 18:05 1illeke

I am getting the same error. I have tried changing SMTP port server and made sure to enable IMAP in gmail settings.

jakebreaks avatar May 09 '23 20:05 jakebreaks

Try generating an app-specific password. I was able to do so using my iCloud account.

jakebreaks avatar May 10 '23 03:05 jakebreaks

@riensen

ntindle avatar May 10 '23 05:05 ntindle

I am getting the same error. I also tried to enable IMAP in Gmail settings.

schulze117 avatar May 10 '23 16:05 schulze117

Did try generating the code and when given it still goes to the same loop

1illeke avatar May 14 '23 16:05 1illeke

Is there a secure alternative to implementing email? The option for app passwords has been removed from Gmail accounts.

d3acon15 avatar May 26 '23 16:05 d3acon15