Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Set Up Gmail in Evolution on GNOME Desktop

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To set up Gmail in the Evolution email client on GNOME, open Evolution, go to Edit > Preferences, click Add under Mail Accounts, and follow the wizard. You'll need your Gmail address and an App Password (not your regular Gmail password) if you have 2-Step Verification enabled. The wizard auto-detects most settings, but you may need to enter them manually for IMAP/SMTP.

What You'll Need

  • A Gmail account (or Google Workspace account)
  • Your Gmail password, or an App Password if you use 2-Step Verification (recommended)
  • Evolution installed (usually pre-installed on GNOME; if not, install via your distro's package manager, e.g., sudo apt install evolution)
  • Internet connection

Step-by-Step

  1. Launch Evolution from your applications menu. If it's your first time, it may prompt you to create an account—click Cancel for now and proceed to the next step.
  2. In the Evolution main window, go to Edit > Preferences (or Preferences in some versions).
  3. In the Preferences dialog, select Mail Accounts on the left, then click Add (or the + icon) to start the account wizard.
  4. In the Identity step, enter your Full Name (as you want it to appear in sent emails) and your Email Address (your full Gmail address, e.g., you@gmail.com). Click Forward.
  5. In the Receiving Email step, choose IMAP+ from the Server Type dropdown. This is the recommended protocol for Gmail because it keeps emails on the server and syncs across devices.
  6. For the Server field, enter imap.gmail.com. Leave Port as 993 (default). Ensure Use Secure Connection is set to SSL/TLS (or Encryption: SSL on a dedicated port).
  7. Enter your full Gmail address in the Username field. Leave Password blank for now (you'll set it later). Click Forward.
  8. In the Receiving Options step, you can leave the defaults (like checking for new messages every 10 minutes). Click Forward.
  9. In the Sending Email step, choose SMTP as the Server Type. For Server, enter smtp.gmail.com. Set Port to 465 (SSL/TLS) or 587 (STARTTLS). For Gmail, port 465 with SSL is common. Ensure Use Secure Connection is set to SSL/TLS (or Encryption: SSL on a dedicated port).
  10. Enter your full Gmail address in the Username field. Leave Password blank for now. Check Server requires authentication (it should be checked by default). Click Forward.
  11. In the Account Management step, give your account a name (e.g., "Gmail") and click Forward.
  12. Review the summary. If everything looks correct, click Apply to finish the wizard.
  13. Now, you'll need to enter your password. Go back to Edit > Preferences, select your Gmail account under Mail Accounts, and click Edit (or double-click the account).
  14. In the Receiving Email tab, click the Check for Supported Types button (or just click on the password field). Enter your Gmail App Password (or your regular Gmail password if you don't use 2-Step Verification). Click OK.
  15. Similarly, in the Sending Email tab, enter the same password in the Password field. Click OK to save.
  16. To test the connection, click Send/Receive in the main Evolution window. If prompted, allow Evolution to access your Google account (if you're using OAuth2, which is newer, you may see a browser window asking for permission—log in with your Google account and grant access).

Common Mistakes

  • Using your regular Gmail password with 2-Step Verification enabled: Google will reject it. You must create an App Password specifically for Evolution.
  • Wrong server ports: Using port 993 for IMAP is correct, but some users mistakenly use 143 (non-secure). For SMTP, ensure you use 465 or 587, not 25.
  • Forgetting to enable IMAP in Gmail settings: In your Gmail web settings, go to Settings > See all settings > Forwarding and POP/IMAP and ensure Enable IMAP is selected. This is usually enabled by default, but if you've disabled it, Evolution won't connect.
  • Entering the email address as username: For Gmail, the username is your full email address (e.g., you@gmail.com), not just the part before the @.
  • Using OAuth2 incorrectly: If Evolution asks for OAuth2, you must complete the browser authorization. If you skip it, the account won't sync.

Tips

  • Enable 2-Step Verification on your Google account and generate an App Password for Evolution. This is more secure than using your main password, and it's required if you have 2FA on.
  • If you want to use OAuth2 (the more secure method), select OAuth2 as the Authentication type in both Receiving and Sending Email steps. Evolution will then open a browser window for you to log in and grant access. This is the recommended method as of recent versions.
  • To avoid filling your hard drive, set Evolution to not keep copies of messages locally if you prefer to rely on Gmail's storage. In the Receiving Options, uncheck Leave messages on server only if you want to delete them from Gmail—but it's usually better to leave them on the server.
  • If you have multiple Gmail accounts, repeat the wizard for each. You can also set up labels as folders by enabling Show only subscribed folders in the Receiving Options.
  • For faster initial sync, you can limit the number of days to sync in the Receiving Options (e.g., 30 days) to avoid downloading years of email.

Troubleshooting

  1. Authentication failed: Double-check your App Password (no spaces, 16 characters). If you're using OAuth2, ensure you completed the browser authorization. Also, verify that IMAP is enabled in Gmail settings.
  2. Connection timed out: Check your internet connection. If you're on a corporate network, a firewall might block ports 993 or 465. Try using port 587 (STARTTLS) for SMTP instead.
  3. SSL certificate errors: If you see a certificate warning, it's usually because Evolution doesn't recognize Google's certificate. You can trust it by clicking Accept or Yes when prompted. If it persists, ensure your system date and time are correct.
  4. Emails not syncing: Go to Edit > Preferences > Mail Accounts, select your account, and click Edit. In the Receiving Email tab, click Check for Supported Types to re-verify settings. Also, try clicking Send/Receive manually.
  5. Evolution crashes on startup: This is rare, but if it happens, try clearing Evolution's cache: evolution --force-shutdown then rm -rf ~/.cache/evolution (this only removes cached data, not your emails). Then restart Evolution.
  6. If all else fails: Remove the account from Evolution (Edit > Preferences > Mail Accounts > Remove) and re-add it. Ensure you have the latest Evolution updates installed via your package manager.

Frequently Asked Questions

Do I need to enable IMAP in Gmail settings?

Yes, IMAP must be enabled in your Gmail web settings (Settings > See all settings > Forwarding and POP/IMAP > Enable IMAP). It's usually on by default, but if you've turned it off, Evolution won't connect.

What is an App Password and how do I get one?

An App Password is a 16-character code that lets you sign in to your Google account from apps that don't support 2-Step Verification. You generate it in your Google Account settings under Security > App passwords. You need 2-Step Verification enabled first.

Can I use Evolution with Gmail without an App Password?

Yes, if you don't have 2-Step Verification enabled, you can use your regular Gmail password. However, Google may block sign-in from less secure apps. It's safer to enable 2FA and use an App Password or OAuth2.

Why does Evolution ask me to authorize via a browser?

That's OAuth2 authentication. Google uses it to let you grant access without sharing your password. You'll see a Google sign-in page; log in and click Allow. This is the most secure method and is recommended.

Can I set up multiple Gmail accounts in Evolution?

Yes, just repeat the account wizard for each Gmail address. Each account will appear as a separate mailbox in Evolution.

Will Evolution sync my Gmail labels?

Yes, Evolution can show Gmail labels as folders if you enable IMAP and subscribe to them. In the Receiving Options, you can check Show only subscribed folders and then subscribe to the labels you want in the folder list.