Configuring the Mail Server to Use Gmail

Still need help?

The Atlassian Community is here for you.

Ask the community


You can refer to this KB when you want to configure a Gmail Account for Mail Notifications in Bitbucket Server.


Go to the Mail server configuration in the Administration page.

Configure according to your needs:

Port: 587
Password: ********
Always use SSL/TLS: Yes
E-mail From:

2-step verification

Notice that if the Gmail user has 2-step verification enabled, he/she will need to generate a password for an application (in this case Bitbucket Server) and use this application password - not the account password. Please refer to the guide below for more information:

If the resolution does not work, please get in touch with Atlassian Support.

Last modified on Dec 5, 2023

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.