Enable Email Notifications
On the Global Settings page, you configure the connection between YouTrack and a mail server. This enables notifications in YouTrack over email.
To enable email notifications:
Select the Enable checkbox for Email.
Enter values for the following settings:
Enter the server address of your SMTP server.
Enter the connection port for the SMTP server.
Select the protocol that is used by your SMTP server.
If your SMTP server does not require authentication, enable this option.
When enabled, YouTrack connects to your SMTP server without sending a login and password. The input fields for SMTP login and SMTP password are disabled. Values that are stored in these settings are ignored.
Enter the username of the account that is used to access the SMTP server.
If you're connecting to Gmail, additional security requirements may apply. For details, see Special Requirements for Connecting to Gmail.
Click the Change password button to specify the password for account that is used to access the SMTP server.
Select a previously uploaded SSL key or trusted certificate for secure connection to your mail server. For details, see SSL Keys.
Enter the address that you want to use to send email notifications. For more information about email addresses, see From and Reply-to Addresses.
Enter an optional address that you want to use for email replies. For more information about email addresses, see From and Reply-to Addresses.
When finished, click the Save button.
Test the connection.
Click the Send test message button.
Enter an email address to which the test message should be sent.
Click the Send button.
Check the email account that you sent the test message to and verify that the message was delivered.
If successful, the connection to your external mail service is configured and ready for use.
If unsuccessful, update your settings and test the connection until the message delivery is successful.
Special Requirements for Connecting to Gmail
Google accounts have settings that restrict access to third-party applications that use less secure sign-in technology. By their definition, this applies to connections that authenticate with a username and password, which are vulnerable to hijacking.
The setup requirements are based on the current setting for managing less secure apps. The requirements apply to the Google account that you use to authenticate with the Gmail server.
If you're connecting with a Google account that you manage yourself, the following options are available:
Generate an application-specific password (App Password) in your Google account and use it for authentication. Leave the option to enable access for less secure apps in your Google account Off.
App Passwords can only be used with accounts that have 2-Step Verification turned on.
Enable Less secure app access for your Google account and connect using your username and password (not recommended).
If you use a Google account that is managed by your organization as part of G Suite, verify which of the following settings is currently enabled for your domain.
Disable access to less secure apps for all users
The Google account that you use for authentication must have 2-Step Verification enabled. To connect to the Gmail server with this account, generate an application-specific password in your Google account.
Allow users to manage their access to less secure apps
You may be able to connect to the Gmail server with your Google username and password. This setup is only available when:
If you have enabled 2-Step Verification for this Google account, you need to generate and use an application-specific password. Configure the email notification settings in YouTrack as if access to less secure apps were disabled.