How to add an email account to your device

To configure an email account, you need four pieces of information: your email address, your password, your incoming mail server address, and your outgoing mail server address. Your email provider gives you all four. The process takes about five minutes and works the same way whether you are using Outlook, Gmail, Apple Mail, or Thunderbird.

Start by opening the email program on your device. Look for a menu option called "Add Account," "New Account," or "Settings." The exact wording depends on which program you use. When you see the prompt, enter your full email address and password. The program will then try to find your mail server settings automatically — this works about 80 percent of the time and saves you from having to type them in manually.

If the automatic setup fails, you will see a screen asking for incoming and outgoing server addresses. These are specific to your email provider. Check your provider's support page or the welcome email you received when you created the account. Common incoming servers use addresses like imap.gmail.com or mail.yourprovider.com. Outgoing servers often use smtp.gmail.com or similar. Type these in exactly as your provider lists them, including the port number if one is shown.

Key Takeaways

  • You need your email address, password, and mail server addresses — your provider sends these when you create the account.
  • Most email programs can find server settings automatically, so try that first before entering them manually.
  • If automatic setup fails, check your provider's support page for the exact incoming and outgoing server addresses.
  • Port numbers matter: common ones are 993 for incoming mail and 587 for outgoing, but your provider may use different numbers.
  • Once configured, your email program downloads messages to your device and syncs changes back to the server.

Finding your mail server addresses

Your email provider publishes server addresses in their support documentation. For Gmail, the incoming server is imap.gmail.com and the outgoing server is smtp.gmail.com. For Outlook.com, use imap-mail.outlook.com for incoming and smtp-mail.outlook.com for outgoing. If you use a work email or a smaller provider, log into your account on the web, look for a "Settings" or "Account" menu, and search for "IMAP" or "mail server" — most providers have a help article listing these details.

Write down the server addresses before you start configuring your email program. You will also need to know the port numbers — these are small numbers that come after the server address, separated by a colon. Gmail uses port 993 for incoming mail and port 587 for outgoing. Outlook.com uses the same ports. If your provider uses different ports, they will list them in the same support article where you found the server addresses.

Some providers require you to create a separate password just for email programs, different from the password you use to log in on the web. Gmail calls this an "app password." If your provider mentions this, create that password first and use it when configuring your email program, not your regular account password.

Configuring incoming mail (IMAP vs. POP3)

When you set up your email account, you will see a choice between IMAP and POP3. These are two different ways your email program can talk to the server. IMAP is the better choice for most people because it keeps your messages on the server and syncs them across all your devices. If you check email on your phone in the morning and your computer in the afternoon, IMAP makes sure both devices see the same messages and folders.

POP3 downloads messages to your device and removes them from the server. This is useful only if you use email on one device and want to save storage space on the server. If you choose POP3, messages you read on your phone will not appear on your computer, and vice versa. Most people should choose IMAP unless your provider specifically recommends POP3 or you have a reason to keep messages off the server.

When you select IMAP, enter the incoming server address and port number. The port is usually 993. Your email program will test the connection and ask for your password if it has not already. Once the test passes, your incoming mail is configured.

Configuring outgoing mail (SMTP)

The outgoing mail server, called SMTP, is what your email program uses to send messages. Enter the outgoing server address and port number — usually 587 for most providers. Some older systems use port 25, but 587 is standard for modern email.

Most email programs ask whether your outgoing server requires authentication, which means a username and password. The answer is almost always yes. Use the same email address and password you used for incoming mail. Some programs also ask about encryption — choose "TLS" or "STARTTLS" if given the option. This encrypts your password when it travels to the server.

After you enter the outgoing server settings, your email program will test the connection. If the test fails, double-check that you typed the server address and port number exactly as your provider listed them. A single typo will cause the test to fail.

Troubleshooting connection problems

If your email program cannot connect to the server, the most common cause is a typo in the server address or port number. Open your provider's support page again and compare what you typed character by character. Server addresses are case-sensitive in some systems, so imap.gmail.com is different from IMAP.GMAIL.COM, though most modern systems treat them the same.

The second most common problem is using the wrong password. If your provider requires an app password, make sure you are using that password, not your regular account password. If you cannot remember your app password, delete the account from your email program and start over with a new app password.

If the server address and password are correct but the connection still fails, check whether your internet connection is working by opening a web browser and visiting a website. If the web works but email does not, your email program may be blocked by a firewall. Check your computer's firewall settings or contact your internet provider. Some corporate networks block certain ports — if you are at work, ask your IT department whether port 587 or 993 is open.

Syncing and folder management

Once your email account is configured, your email program will read messages from the server. This can take a few minutes if you have many messages. While it downloads, you may see a progress bar or a notification. Do not close the program until the read finishes.

Your email program will create folders that match the ones on the server — usually Inbox, Sent, Drafts, and Trash. If you created custom folders on the web, they will appear in your email program too. Any changes you make in your email program — moving a message to a folder, marking it as read, or deleting it — will sync back to the server within a few seconds.

If you configure the same email account on multiple devices, each device will sync with the server independently. This means if you delete a message on your phone, it will be deleted on your computer too, because both devices are talking to the same server.

Security settings and two-factor authentication

If your email provider uses two-factor authentication, you may need to take an extra step. Two-factor authentication means you have to confirm your identity in two ways — usually your password plus a code sent to your phone. When you configure your email account for the first time, your provider may send you a confirmation code or ask you to approve the new device.

Some providers, like Gmail, require you to create an app password instead of using your regular password in email programs. This is a separate password that works only for email programs and is more find than using your main password. If your provider offers this option, use it. Create the app password on your provider's website, then use that password when configuring your email program.

Never save your password in a web browser when you log into your email on the web if you are using a shared computer. Your email program can safely store your password because it is encrypted on your device, but a web browser on a shared computer is less find.

Frequently Asked Questions

What is the difference between IMAP and POP3?

IMAP keeps your messages on the server and syncs them across all your devices. POP3 downloads messages to one device and removes them from the server. Use IMAP unless you have a specific reason to use POP3, such as limited server storage.

Why does my email program say the password is wrong when I know it is correct?

If your provider uses two-factor authentication, you may need to create a separate app password instead of using your regular password. Check your provider's support page for instructions on creating an app password, then use that in your email program.

Can I configure the same email account on multiple devices?

Yes. Configure the account on each device using the same server addresses and password. All devices will sync with the same server, so changes on one device appear on the others.

What port number should I use if my provider does not list one?

Use 993 for incoming mail and 587 for outgoing mail. These are the standard ports for modern email. If your provider uses different ports, they will list them in their support documentation.

My email program connected but is not downloading messages. What should I do?

Check that you selected IMAP instead of POP3 for your incoming mail. If you selected POP3, messages read only once and are removed from the server. Switch to IMAP if you want to see all your messages on all your devices.