Skip to main content

Setting Up Google SMTP for Sending Emails from the App

How to Set Up Gmail / Google Workspace SMTP for Sending Emails from ABRA Flexi (2FA + App Password)

Written by Petr Pech

Under its security policy, Google does not allow PLAIN sign-in with a username and password and requires external applications to use a so-called App Password. This article provides complete instructions for sending emails from ABRA Flexi using your Gmail account.

Setting up your Gmail account

1. The account must have 2FA enabled — two-step verification in your account settings, under Security → Signing in to Google: https://myaccount.google.com/security

2. After enabling 2FA, create an app password on the App passwords page: https://myaccount.google.com/apppasswords (Google will ask you to sign in again).

If you can't find the page: in your Google account settings, type "App passwords" into the search field.

3. Enter an app name (e.g., "ABRA Flexi") and click Create. Google will generate a 16-character password, which you need to use in ABRA Flexi (see the next step). The password is displayed only once — be sure to save it.

⚠️ For Google Workspace users: The administrator of your Workspace organization must have IMAP/SMTP and the creation of App Passwords centrally enabled (Admin Console → Security → Less secure apps / App access). Without this, you will not be able to generate a password in your account, even if 2FA is enabled.

Setting up ABRA Flexi

In the desktop application, you can configure the SMTP server in the menu under Tools → SMTP Server Settings. To access this function, the user must have the ADMIN role with server permissions — Access all companies.

In the SMTP settings, enter the following:

  • SMTP server: smtp.gmail.com

  • Port: 465, security SSL (alternatively, you can use port 587 + STARTTLS)

  • User: your Gmail address

  • Password: the generated App Password from the previous step — this is not the standard password to your email mailbox


Sending from an address with your own domain

Do you want to send via Google SMTP, but have the sender be an address with your own domain (e.g., a mailbox in Microsoft 365)?

  1. In your Google account settings, add the account with your own domain as an address you can send on behalf of. Verify that it works by sending a message to a real email address.

  2. In the SMTP settings in ABRA Flexi, fill in the Sender email field. It takes precedence over the email set for the user.

ℹ️ In the Sender email field, you can enter only the address itself, without a display name. A format that includes the sender's name can be set in custom email templates (available from the Premium edition). Some SMTP providers may prohibit changing the sender.

FAQ

Need help?
If you have any questions about the application, contact us at podporaflexi@abra.eu or use the chat window in the bottom right corner.

Did this answer your question?