Compare Revisions

Thunderbird and Gmail

Revision 250838:

Revision 250838 by marcelo.ghelman on

Revision 251084:

Revision 251084 by wsmwk on

പെരുമുരികൾ:

Search results summary:

Thunderbird can be set up to work seamlessly with Google's Gmail. Messages will be synchronized between your local version of Thunderbird and web-based Gmail.
Thunderbird can be set up to work seamlessly with Google's Gmail. Messages will be synchronized between your local version of Thunderbird and web-based Gmail.

ഉള്ളടക്കം:

Thunderbird can be configured to work seamlessly with Google's [http://gmail.google.com Gmail] service. Messages are synchronized between your local version of Thunderbird and the web-based Gmail. {warning}As of May 30, 2022, '''Google no longer allows [https://myaccount.google.com/lesssecureapps Less secure apps] access''' for Gmail accounts, thus '''OAuth is required'''. If you are using Google supplied “app passwords”, Thunderbird version 91.8.0 and newer will [[Automatic Conversion of Google mail accounts to oAuth2.0 Authentication|make that conversion]] for you. Further, '''Gmail accounts do not work with Thunderbird 31 and older''' because they do not support Google's OAuth (implemented in [https://bugzilla.mozilla.org/show_bug.cgi?id=849540 bug 849540]).{/warning} __TOC__ = Configuring your Gmail account = {for win} [[Video:https://www.youtube.com/watch?v=JXs_YE9QyUQ]] {/for} To configure Thunderbird to work with Gmail, first enable IMAP on your Gmail account. See [http://mail.google.com/support/bin/answer.py?answer=77695 Gmail's instructions] for help. (IMAP is enabled on new Gmail accounts by default.) {for not tb38} Double check that “Access for less secure apps” is enabled. See [https://www.google.com/settings/security/lesssecureapps Google's article on “less secure apps”] for help. {/for} Next, select {menu File > New > Existing Mail Account…}. The ''Mail Account Setup'' dialog is displayed. After you provide your account information (real name, email address and password), Thunderbird will automatically configure your Gmail connection. Click {button Done}{for tb38}, sign in with your Google account if prompted{/for} and that's all! Thunderbird will download your existing messages and your Gmail will be ready to use. For more detailed information, please refer to: * [[Automatic Account Configuration]] * [http://mail.google.com/support/bin/answer.py?answer=180189 First steps with IMAP on Gmail] * [http://mail.google.com/support/bin/topic.py?topic=12806 Gmail's IMAP tips] = Gmail's particularities = == Archiving messages == In order to be consistent with Gmail's behavior, Thunderbird archives your message in the ''All Mail'' folder, and not in an ''Archive'' folder as it does for other accounts (as described in the [[Archived Messages]] article). ;[[Image:Gmail Archive settings]] {note}The {button Archive options…} button is disabled for Gmail accounts, as it is not necessary to define the archive granularity with Gmail.{/note} == Subscribing to folders and synchronizing messages == === Understanding Gmail labels and Thunderbird folders === Gmail uses a special implementation of IMAP. In this implementation, Gmail labels become Thunderbird folders. When you apply a label to a message in Gmail, Thunderbird creates a folder with the same name as the label and stores the message in that folder. Similarly, if you move a message to a folder in Thunderbird, Gmail will create a label with the folder name and assign it to the message. In the example shown below, the folders at the same level as the ''[Gmail]'' folder (''Personal'', ''Receipts'', ''Travel'' and ''Work'') correspond to Gmail labels.<!--changed order according to screenshot (Artist, Sept. 23, 2014) --> ;[[Image:default gmail folders]] There is also a set of special sub-folders for the ''[Gmail]'' folder: * All Mail: contains all the messages of your Gmail account, including sent and archived messages. Any messages that you see in the inbox will also appear in the ''[Gmail]/All Mail'' folder. * Drafts: contains draft messages. * Sent Mail: contains sent messages. * Spam: contains messages that were marked as spam (either by Gmail or Thunderbird). * Starred: contains messages that were starred (either by Gmail or Thunderbird). * Trash: contains deleted messages. * Important: contains messages that Gmail has flagged as “important”. (See [http://support.google.com/mail/bin/answer.py?answer=186531&topic=1669050&ctx=topic Priority Inbox overview] for more details about this Gmail feature.) === Subscribing to or unsubscribing from folders (labels) === You can configure which Gmail folders you want to display in Thunderbird. By default, all Gmail folders are displayed, as described above. To configure folder display, right-click on the account name and select {menu Subscribe}.<!-- removed horizontal ellipsis because the menu shown in the screenshot does not show any (unless it is outdated) Artist, Sept. 23, 2014 --> ;[[Image:subscribe gmail folders]] Uncheck any folders that you don't want to display in Thunderbird. Messages will still be downloaded and available through the ''All Mail'' folder. They will also be included in search results. However, the Gmail label (Thunderbird folder) will not be displayed. === Synchronizing folders (labels) === If you want to see all your Gmail labels and messages in Thunderbird but prefer to avoid all the messages being downloaded to your system, you may want to tweak the synchronization settings. This allows you to define which folder should be synchronized. If you don't synchronize a folder, the message header will still be displayed in Thunderbird, but the message content will only be downloaded when you click on the message header. To change how messages are downloaded, set synchronization options for the account and for individual folders. ({for win,mac}{menu Tools > Account Settings…}{/for}{for linux}{menu Edit > Account Settings…}{/for}) See [[IMAP Synchronization#w_synchronization]] for more information. = Updating a Gmail account to use OAuth = Thunderbird will normally set up or update your Gmail account to OAuth automatically. If something goes wrong, you can use the hints below to check and set up manually. For more details and how to resolve various OAuth issues, see [[Automatic Conversion of Google mail accounts to OAuth 2.0 Authentication]]. The following applies to both POP and IMAP mail accounts. *Enable cookies in Thunderbird: *#Click on the menu button [[Image:Fx57menu]] and click on '''Preferences''', which opens in a new tab. *#Select '''Privacy & Security'''. *#Under ''Web Content'' section, select checkbox '''Accept cookies from sites'''. *You may need to set an exception: *#Click on {button Exceptions...} button. *#Add an exception for https://accounts.google<!-- -->.com *#Set it to '''Allow'''. *#Click on {button Save Changes}. *Change the authentication method in Account Settings: *#Click on the menu button [[Image:Fx57menu]] (or '''{for win,mac}Tools{/for}{for linux}Edit{/for}''' on ''Menu Bar'') and select '''Account Settings''', which opens in a new tab. **Change the Outgoing SMTP authentication method: **#In the left pane, select the pop/imap account name and look bottom right for ''Outgoing Server (SMTP)''. **#Click on {button Edit Server SMTP} button. **#Set '''Authentication Method''' to '''OAuth2'''. **#Click on {button OK}. **Change the Incoming authentication method: **#In the left pane, select '''Server Settings''' for Gmail account. **#Set '''Authentication Method''' to '''OAuth2'''. Exit Thunderbird and wait a few moments for background processes to finish. Then restart Thunderbird. Gmail will prompt you to enter your Gmail email address and password, which is the same password you use to access Gmail webmail account. Follow the instructions to allow Thunderbird to access server. An OAuth token will get saved in Thunderbird, in the same location as passwords. = Useful Add-ons = * If you want to sync your contacts between Thunderbird and Gmail, you should try either the [https://addons.thunderbird.net/thunderbird/addon/google-contacts/ Google Contacts] or [https://addons.thunderbird.net/thunderbird/addon/gcontactsync/ gContactSync] add-ons. * If you want to sync your calendar between Lightning and Google Calendar, you should read [[Using Lightning with Google Calendar]]. * [https://addons.thunderbird.net/thunderbird/addon/flat-folder-tree/ Flat Folder Tree] is useful to show all the sub-folders of the [Gmail] IMAP's folder at the same level as your other folders. * [https://addons.thunderbird.net/thunderbird/addon/gmailbuttons/ Gmail Buttons] makes it easier to move messages to the ''Trash'' and ''Spam'' folders. Beta version also shows all Gmail labels for each message. = See also = * [https://support.google.com/mail/answer/78892?hl=en Gmail's support article]. * [https://bugzilla.mozilla.org/show_bug.cgi?id=402793 The ticket which tracks issues using Gmail with Thunderbird (Bug 402793)].
Thunderbird can be configured to work seamlessly with Google's [http://gmail.google.com Gmail] service. Messages are synchronized between your local version of Thunderbird and the web-based Gmail. {warning}As of May 30, 2022, '''Google no longer allows [https://myaccount.google.com/lesssecureapps Less secure apps] access''' for Gmail accounts, thus '''OAuth is required'''. If you are using Google supplied “app passwords”, Thunderbird version 91.8.0 and newer will [[Automatic Conversion of Google mail accounts to oAuth2.0 Authentication|make that conversion]] for you. Further, '''Gmail accounts do not work with Thunderbird 31 and older''' because they do not support Google's OAuth (implemented in [https://bugzilla.mozilla.org/show_bug.cgi?id=849540 bug 849540]).{/warning} __TOC__ = Configuring your Gmail account = {for win} [[Video:https://www.youtube.com/watch?v=JXs_YE9QyUQ]] {/for} To configure Thunderbird to work with Gmail, first enable IMAP on your Gmail account. See [http://mail.google.com/support/bin/answer.py?answer=77695 Gmail's instructions] for help. (IMAP is enabled on new Gmail accounts by default.) {for not tb38} Double check that “Access for less secure apps” is enabled. See [https://www.google.com/settings/security/lesssecureapps Google's article on “less secure apps”] for help. {/for} Next, select {menu File > New > Existing Mail Account…}. The ''Mail Account Setup'' dialog is displayed. After you provide your account information (real name, email address and password), Thunderbird will automatically configure your Gmail connection. Click {button Done}{for tb38}, sign in with your Google account if prompted{/for} and that's all! Thunderbird will download your existing messages and your Gmail will be ready to use. For more detailed information, please refer to: * [[Automatic Account Configuration]] * [http://mail.google.com/support/bin/answer.py?answer=180189 First steps with IMAP on Gmail] * [http://mail.google.com/support/bin/topic.py?topic=12806 Gmail's IMAP tips] = Gmail's particularities = == Archiving messages == In order to be consistent with Gmail's behavior, Thunderbird archives your message in the ''All Mail'' folder, and not in an ''Archive'' folder as it does for other accounts (as described in the [[Archived Messages]] article). ;[[Image:Gmail Archive settings]] {note}The {button Archive options…} button is disabled for Gmail accounts, as it is not necessary to define the archive granularity with Gmail.{/note} == Subscribing to folders and synchronizing messages == === Understanding Gmail labels and Thunderbird folders === Gmail uses a special implementation of IMAP. In this implementation, Gmail labels become Thunderbird folders. When you apply a label to a message in Gmail, Thunderbird creates a folder with the same name as the label and stores the message in that folder. Similarly, if you move a message to a folder in Thunderbird, Gmail will create a label with the folder name and assign it to the message. In the example shown below, the folders at the same level as the ''[Gmail]'' folder (''Personal'', ''Receipts'', ''Travel'' and ''Work'') correspond to Gmail labels.<!--changed order according to screenshot (Artist, Sept. 23, 2014) --> ;[[Image:default gmail folders]] There is also a set of special sub-folders for the ''[Gmail]'' folder: * All Mail: contains all the messages of your Gmail account, including sent and archived messages. Any messages that you see in the inbox will also appear in the ''[Gmail]/All Mail'' folder. * Drafts: contains draft messages. * Sent Mail: contains sent messages. * Spam: contains messages that were marked as spam (either by Gmail or Thunderbird). * Starred: contains messages that were starred (either by Gmail or Thunderbird). * Trash: contains deleted messages. * Important: contains messages that Gmail has flagged as “important”. (See [http://support.google.com/mail/bin/answer.py?answer=186531&topic=1669050&ctx=topic Priority Inbox overview] for more details about this Gmail feature.) === Subscribing to or unsubscribing from folders (labels) === You can configure which Gmail folders you want to display in Thunderbird. By default, all Gmail folders are displayed, as described above. To configure folder display, right-click on the account name and select {menu Subscribe}.<!-- removed horizontal ellipsis because the menu shown in the screenshot does not show any (unless it is outdated) Artist, Sept. 23, 2014 --> ;[[Image:subscribe gmail folders]] Uncheck any folders that you don't want to display in Thunderbird. Messages will still be downloaded and available through the ''All Mail'' folder. They will also be included in search results. However, the Gmail label (Thunderbird folder) will not be displayed. === Synchronizing folders (labels) === If you want to see all your Gmail labels and messages in Thunderbird but prefer to avoid all the messages being downloaded to your system, you may want to tweak the synchronization settings. This allows you to define which folder should be synchronized. If you don't synchronize a folder, the message header will still be displayed in Thunderbird, but the message content will only be downloaded when you click on the message header. To change how messages are downloaded, set synchronization options for the account and for individual folders. ({for win,mac}{menu Tools > Account Settings…}{/for}{for linux}{menu Edit > Account Settings…}{/for}) See [[IMAP Synchronization#w_synchronization]] for more information. = Updating a Gmail account to use OAuth = Thunderbird will normally set up or update your Gmail account to OAuth automatically. If something goes wrong, you can use the hints below to check and set up manually. For more details and how to resolve various OAuth issues, see [[Automatic Conversion of Google mail accounts to OAuth 2.0 Authentication]]. The following applies to both POP and IMAP mail accounts. *Enable cookies in Thunderbird: *#Click on the menu button [[Image:Fx57menu]] and click on '''Preferences''', which opens in a new tab. *#Select '''Privacy & Security'''. *#Under ''Web Content'' section, select checkbox '''Accept cookies from sites'''. *You may need to set an exception: *#Click on {button Exceptions...} button. *#Add an exception for https://accounts.google<!-- -->.com *#Set it to '''Allow'''. *#Click on {button Save Changes}. *Change the authentication method in Account Settings: *#Click on the menu button [[Image:Fx57menu]] (or '''{for win,mac}Tools{/for}{for linux}Edit{/for}''' on ''Menu Bar'') and select '''Account Settings''', which opens in a new tab. **Change the Outgoing SMTP authentication method: **#In the left pane, select the pop/imap account name and look bottom right for ''Outgoing Server (SMTP)''. **#Click on {button Edit Server SMTP} button. **#Set '''Authentication Method''' to '''OAuth2'''. **#Click on {button OK}. **Change the Incoming authentication method: **#In the left pane, select '''Server Settings''' for Gmail account. **#Set '''Authentication Method''' to '''OAuth2'''. Exit Thunderbird and wait a few moments for background processes to finish. Then restart Thunderbird. Gmail will prompt you to enter your Gmail email address and password, which is the same password you use to access Gmail webmail account. Follow the instructions to allow Thunderbird to access server. An OAuth token will get saved in Thunderbird, in the same location as passwords. = Useful Add-ons = * [https://addons.thunderbird.net/en-US/thunderbird/addon/google-4-tbsync/ Google contact and contact group sync] * If you want to sync your calendar between Thunderbird Calendar and Google Calendar, you should read [[Using Lightning with Google Calendar]]. = See also = * [https://support.google.com/mail/answer/78892?hl=en Gmail's support article]. * [https://bugzilla.mozilla.org/show_bug.cgi?id=402793 The ticket which tracks issues using Gmail with Thunderbird (Bug 402793)].

തിരിച്ചു് നാൾവഴിയിലോട്ടു്