NextCloud - eMail App with GMail
Here are the steps I documented to configure the NextCloud eMail app to work with GMail. I had similar issues on multiple GMail accounts, and these various scenarios helped me work through them. Hopefully they will help you.
If you get an error Error while creating the account: Gateway Timeout or others, try the following steps to successfully use GMail on NextCloud
Get GMail Ready
-
Enable IMAP in the Gmail Settings](https://mail.google.com/mail/u/0/#settings/fwdandpop)
-
Save Settings
-
If you have 2-Step Verification enabled, create an App Password
-
Otherwise, ensure Less secure apps is enabled
-
Proceed to add account to NextCloud
Add the account to NextCloud
- In NextCloud Go to Mail
- At bottom of left pane, select Settings
- Select “Add mail account”
- Enter your information for the gmail account using the app password if you have 2-Step Verification enabled, or your normal GMail account password if not.
- Click “Connect”
Troubleshooting
If the NextCloud eMail app refuses to connect after preparing GMail for use, click on the Manual Configuration option prior to clicking on “Connect” when you add the eMail account.
Check your settings against Google’s SMTP & IMAP Settings to ensure they are correct.