Email setup
- 
    In menu Marketing -> Communications -> Email ServicesorSwissup -> Email Services.Note: Paths are identical  
- 
    Press “Add new” button 
- 
    Create service - Specify the Name
- Choose Type from drop-down
- Fill all required fields
- Before enabling you have to click Save and ContinueandCheck servicebuttons
- Enable/Disable
 
Gmail Service Setup
If Type selects Gmail. Use an App Password: Generate a new App Password for your Gmail account. https://security.google.com/settings/security/apppasswords
Sign in with App Passwords

- 
    Navigate to Stores -> Configurations -> Swissup -> EmailorStores -> Configurations -> Advanced -> System -> Mail Sending SettingsNote: Paths are identical 
- 
    Select new service in the “Default Transport Email Service” drop-down  
- 
    Save 
Gmail API with Google OAuth 2.0 Support Service Setup
If the Type field is set to Gmail OAuth 2.0, please follow the Google instructions to create the required credentials. In your credentials, you need to add Authorized redirect URIs with at least one URI, such as https://localhost/swissup_email/gmail/getOAuth2Token/ (replace localhost with your Magento store URL).
Customize the User Consent Screen
In the OAuth consent screen, you need to enable the Gmail API scope. . Also, add your Gmail email address as a Test User.
After setting up your credentials, enter the following fields:
- Client IDin- User (key)
- Client secretin- Password (secure key)
In the Email (from) field, enter your Gmail email address.
- 
    Navigate to Stores -> Configurations -> Swissup -> EmailorStores -> Configurations -> Advanced -> System -> Mail Sending SettingsNote: Paths are identical 
- 
    Select new service in the “Default Transport Email Service” drop-down  
- 
    Save 
Logging
- Navigate “Stores → Configurations → Advanced → System → Mail Sending Settings”
- “Logging Enable” set Yes
- Navigate to “Marketing → Communications → Email Logs”
See also
Great! Now you might want to see previous:
