How to add imap email to gmail

There are two ways that you can set up an email account in the Mail app on your iOS device — automatically or manually. Learn which option is best for you.

How to set up your email account automatically

If you use an email provider like iCloud, Google, or Yahoo, Mail can automatically set up your email account with just your email address and password. Here's how:

  1. Go to Settings > Mail, then tap Accounts.
    How to add imap email to gmail
  2. Tap Add Account, then select your email provider.
  3. Enter your email address and password.
  4. If you see Next, tap Next and wait for Mail to verify your account.
  5. If you see Save, tap Save.

If you don't see your email provider, tap Other to add your account manually.

How to add imap email to gmail

How to set up your email account manually

If you need to set up your email account manually, make sure that you know the email settings for your account. If you don’t know them, you can look them up or contact your email provider. Then follow these steps:

  1. Go to Settings > Mail, then tap Accounts.
  2. Tap Add Account, tap Other, then tap Add Mail Account.
  3. Enter your name, email address, password, and a description for your account.
    How to add imap email to gmail
  4. Tap Next. Mail will try to find the email settings and finish your account setup. If Mail finds your email settings, tap Done to complete your account setup.

How to add imap email to gmail

Enter account settings manually

If Mail can't find your email settings, then you need to enter them manually. Tap Next, then follow these steps:

  1. Choose IMAP or POP for your new account. If you aren’t sure which one to choose, contact your email provider.
  2. Enter the information for Incoming Mail Server and Outgoing Mail Server. Then tap Next. If you don't have this information, try to look it up.
    How to add imap email to gmail
  3. If your email settings are correct, tap Save to finish. If the email settings are incorrect, you'll be asked to edit them. 

If you still can't set up your email account or save your email settings, contact your email provider.

How to add imap email to gmail

Information about products not manufactured by Apple, or independent websites not controlled or tested by Apple, is provided without recommendation or endorsement. Apple assumes no responsibility with regard to the selection, performance, or use of third-party websites or products. Apple makes no representations regarding third-party website accuracy or reliability. Contact the vendor for additional information.

Published Date: November 29, 2021

From version 3.4.0 Hesk supports OAuth authentication instead of a basic username/password one.

While Google still supports basic authentication with the help of App Passwords, you are encouraged to set up OAuth for Google mail instead if you are a Google Workspaces user.

Having problems getting Gmail to work with HESK? Try these settings.

» Email sending

To send emails using the Gmail server enter these details:

SMTP Host: smtp.gmail.com
SMTP Port: 587
Encryption: TLS
SMTP Username: (your Gmail username)
SMTP Password: (you need to use a Google App Password, not your Gmail password!)

Also, make sure your "From email address" in HESK settings is set to your Gmail email address!

If you get an authentication error from Google, create & use Google App Passwords

Still no luck? Check with your host if they have port 587 blocked in your firewall.

» IMAP fetching

To fetch mail using IMAP from the Gmail server enter these details:

IMAP Host: imap.gmail.com
IMAP Port: 993
Encryption: SSL
IMAP Username: (your Gmail username)
IMAP Password: (a Google App Password)

» POP3 fetching

To fetch mail from the Gmail server using POP3 enter these details:

POP3 Host: pop.gmail.com
POP3 Port: 995
TLS Protocol: ON
POP3 Username: (your Gmail username)
POP3 Password: (a Google App Password)

Important: make 100% sure that "POP3 download" in your Gmail settings is set to "Enable POP for mail that arrives from now on". If not, Gmail will send all existing (even read) messages to HESK when it first connects.

» Error messages

Connection timed out

Required ports are probably blocked on your server's firewall. Ask your host to configure the firewall to allow TCP connections on ports 587, 995, and/or 993.

Some hosting companies will not do that due to their policies. In that case, you will need to, in order to integrate Gmail with HESK, find another host or try the HESK cloud.

Also, try logging in with your Google account here to unlock it for application access.

Click the "Continue" button to Allow access to your Google account.

Password error: [AUTH] Username and password not accepted.
Too many login failures

Your username and/or password are not correct, double-check them ad remember passwords are CaSe SeNSiTiVe!

Password error: [AUTH] Web login required
See this article

Error: 0 could not connect to the host "pop.gmail.com"

This could mean that:

  • required ports are blocked on your server's firewall. Ask your host to unblock TCP connections on ports 587, 995 and/or 993

- OR -

  • SSL certificate verification fails on your server. Try this:
  1. download this file
  2. save it somewhere to your server, for example to C:\wamp\ssl\cacert.pem
  3. open your php.ini file
  4. find line
    ;openssl.cafile=
    and change it to the location of the cacert.pem file while also removing the starting ;
    openssl.cafile=C:\wamp\ssl\cacert.pem
  5. save and restart the server
  6. test again

How do I add an IMAP server to Gmail?

Step 1: Check that IMAP is turned on.
On your computer, open Gmail..
In the top right, click Settings. See all settings..
Click the Forwarding and POP/IMAP tab..
In the "IMAP access" section, select Enable IMAP..
Click Save Changes..

Can you use IMAP on Gmail?

For non-Gmail clients, Gmail supports the standard IMAP, POP, and SMTP protocols. The Gmail IMAP, POP, and SMTP servers have been extended to support authorization via the industry-standard OAuth 2.0 protocol.

How do I add an email account to IMAP?

Open Outlook and select File > Add Account. On the next screen, enter your email address, select Advanced options, then check the box for Let me set up my account manually and select Connect. Select your account type. Most of the time when you need to use this option, you'll select IMAP.

What do I put for IMAP server Gmail?

Gmail IMAP Settings for Incoming Mail Gmail IMAP server address: imap.gmail.com. Gmail IMAP username: Your full Gmail address (for example, [email protected]) Gmail IMAP password: Your Gmail password (use an application-specific Gmail password if you enabled 2-step authentication for Gmail) Gmail IMAP port: 993.