Moving Stony Brook Google Mail Messages to a Personal Gmail Account Using Thunderbird

Audience: Faculty, Staff and Students

This KB Article References: Google Mail
This Information is Intended for: Faculty, Staff, Students
Last Updated: March 15, 2022
Average Rating: Not Rated
Your feedback is important to us, help us by logging in to rate this article and provide feedback.

If you would like to move your email messages from your Stony Brook University Gmail inbox to your personal Gmail inbox, you will need to use an email client like Thunderbird or Apple Mail (for Mac users). By using an email client you can drag and drop emails from one account into another! 

Note:  If you have 2-step authentication set up on your Gmail account, you won't be able to setup Thunderbird with your mail.  Either turn it off or create a Gmail Application specific password for applications that connect via POP/IMAP.

Step 1. Enable IMAP in your Stony Brook Google Mail and Personal Gmail Account

Make sure you must enable IMAP access for your Stony Brook University Google Mail account AND for your personal Gmail account (if you don't already have one, create one at To enable IMAP access, follow these directions:

  1. Log into your Stony Brook University Google account ( with your NetID and NetID password or personal Google account with your username and password
  2. Click on the gear "" in the upper right-hand corner of your window and choose Settings from the drop-down menu
  3. Next, click Forwarding and POP/IMAP
  4. Under "IMAP Access" check off Enable IMAP and click Save Changes

Step 2. Download Thunderbird 

  1. Click the download button and run the .EXE file.  Your OS may prompt you with security warnings. If so, click Run
  2. On the Setup screen, click Next and then choose the Standard setup > Next > Install > Finish

Step 3. Set up Thunderbird with your Stony Brook Google Mail account and a Personal Gmail account

You will need to set this up twice; once for your Stony Brook account and then again for your personal gmail account.

  1. Open Thunderbird
  2. In the top right, click    > Options or Preferences > Account Settings
    preferences account settings
  3. At the bottom of the screen, click Account Actions > Add Mail Account
  4. Enter your name, email address, and password, then click Manual config
    enter username
  5. Enter this server information:
    Incoming:  | Port:  993  |  SSL:  SSL/TLS | OAuth2
    Outgoing:  | Port:  465  | SSL:  SSL/TLS | OAuth2
    Username (incoming and outgoing): 
    manual configuration
  6. Make sure your full email address is in the username field, and then click the Advanced config button (it will be grayed out until you enter your username)
  7. On the left under the email address, click Server Settings. For Authentication method, select OAuth2
  8. On the left click Outgoing Server (SMTP), click to select your email address, and then click Edit
  9. Change the Authentication method here to OAuth2 then click OK
  10. Once your Stony Brook account has been added, in the list of the left click Inbox under your account
    If you don't see Inbox, double-click your email address, and the word Inbox will display below it.
    If you get an error that the mailbox can't connect, double click on your email address to open NetID sign in.

    inbox under in account list on left in Thunderbird
    1. If prompted to sign in with NetID and NetID password, sign in, and then and grant Thunderbird access by clicking Allow (click i to learn about what this means)
    2. If you have trouble authenticating your account, update Thunderbird
  11. After adding your account, you need to add your personal Gmail account by following the same instructions again in Step 3. 
  12. Enter your name and personal Google account information as shown below. Thunderbird should find the correct Incoming and Outgoing Server Host names for email addresses ending in "" If it doesn't, manually input the information above in 4 using your personal gmail account username and password. Click Done
    This is an image of Thunderbird's Mail Account Setup window
  13. Once you have added both accounts to Thunderbird, you can drag and drop emails from one inbox to the other!

Additional Information

Provide Feedback

Your feedback is important to us, help us by logging in to rate this article and provide feedback.

Sign in with NetID

Getting Help

The Division of Information Technology provides support on all of our services. If you require assistance please submit a support ticket through the IT Service Management system.

Submit A Quick Ticket

Supported By

Customer Engagement and Support