Create a secure mail key

Learn about secure mail keys—including why and when you need one.

Make changes to avoid email problems

Do you use a desktop program or a mobile app to access and manage AT&T Mail? If so, we suggest you use one with Open Authentication (OAuth) technology. OAuth encrypts your username and password. Learn about OAuth and find out if your app uses it.

What if your email program or app doesn’t use OAuth technology? In that case, you’ll only be able to access AT&T Mail with a 16-character secure mail key. Be sure to use myAT&T to create a secure mail key for each of your AT&T email addresses and subaccounts. By doing so, you’ll be able to: 
  • Access your AT&T Mail using your favorite email apps  
  • Synchronize other account info, such as your calendar and contacts, to your email app.

Create a secure mail key

It’s easy to create a secure mail key from your mobile device, tablet, or computer. Have your User ID and password ready to sign in to myAT&T.
  1. Go to your myAT&T Profile. Sign in, if asked.
  2. Scroll to My linked accounts, select the email account that needs a secure mail key.
  3. Scroll to Secure mail key, select Manage secure mail key.
  4. Choose the email address that you’d like to use, if you have more than one.
  5. Select Add secure mail key. Enter a nickname for the secure mail key to make it easy to recognize.
  6. Choose Create secure mail key.
  7. Select Copy secure mail key to clipboard. Make a note of your secure mail key  for further updates.
    • For security purposes, the secure mail key only displays until you select OK
    • If you lose or forget the secure mail key, you can always create new secure mail keys.
  8. Select OK.
  9. Go to your preferred email app, replace the existing password with your secure mail key. For an IMAP account, delete the existing password for both the IMAP and SMTP servers. Replace them with your secure mail key.
Good to know: Each device you use to access your email will have its own secure mail key.

Additional secure mail key notes

Access your AT&T email account without an OAuth mail app or secure mail key
You can always read and manage your email through a Web browser at

A secure mail key won’t affect your AT&T email password
You’ll still use the same password for your AT&T Mail account in OAuth-compatible apps, myAT&T, and other AT&T products like and webmail. When you change your AT&T email password, you won’t need to get a new secure mail key.

Keep your secure mail key as long as you like
Secure mail keys never expire.

Create a new secure mail key for a blocked or locked account
For safety reasons, we delete secure mail keys whenever we have to lock or block your account. If that happens, you’ll have to create a new secure mail key for each AT&T Mail account.

Give your secure mail key a nickname
Create a nickname to identify your secure mail key, especially if you have more than one. It’s much easier to recognize a nickname, like "Ari’s email" or "Kelly’s email", than the 16 random characters you entered when setting up your email.
Last updated: January 18, 2023