1. Open Thunderbird
  2. Click the Tools menu, and select Account Settings…
  3. Select Add Mail Account… from the drop-down list located under the account list on the left.
  4. The first dialog in Thunderbird’s Automatic Account Configuration will be displayed. Enter your name, your Gmail or Google Apps email address and your password. Click Continue.
  5. Thunderbird will query the Gmail server and automatically configure the appropriate IMAP connection settings for your account. When complete, Thunderbird will show you a confirmation dialog similar to this one:
  6. Confirm that the connection settings are the same as those shown above and click Create Account.