Skip to main content

Logto built-in email service

Logto provides built-in email services for your convenience in the following scenarios:

  1. Quickly explore or test Logto's email login experience.
  2. Use it directly for your online products. It's primarily for new startups that are comfortable using logto.email as their sender email domain.

The characteristics of the Logto email service:

  • Free to use: It's completely free without any daily email usage limits, saving your cost.
  • Effortless: No configuration with any third-party email service providers is required. Simply customize the basic branding information for your email template. If you don't have your own branding information yet, you can choose to start using it with few clicks.
  • Ensured delivery: Based on Logto's email service, you can get stable service and reliable email delivery, ensuring users can access your product.

However, while convenient, there are some limitations to be aware of:

  1. Emails will be sent from the fixed address [email protected].
  2. You can not add link or any other custom content to emails.

Depending on your evolving business needs, you can choose to use other email service providers later. We offer a range of out-of-the-box email service connectors, and also support SMTP,HTTP, and WebHook triggers for sending emails, so you'll always find a way that suits you.

note:

Logto built-in free email service is currently only available for Cloud users. For users of the Open-source service, you have the flexibility to configure your email service provider for email login.

Configuration steps​

Follow these steps to configure the Logto email service:

  1. Go to Connector > Email and SMS connectors.
  2. To add a new Email connector, click the "Set up" button and select the "Logto email service" connector.
  3. Once the "Logto email service" connector is successfully created, you can customize the basic branding information displayed in the email templates.
  4. After making these changes, remember to send a test email template to your email address before saving changes.

Customization Options:

  • From email: The sender email is set to [email protected] and cannot be modified.
  • Sender name: Set your brand name as the sender name to ensure user recognition.
  • Company information: Display your company name, address, or zip code to enhance user trust and meet compliance requirements. Note that URLs are not allowed.
  • App logo: Upload your app's brand logo so that the app's brand value can be showcased in emails received by users.

Unified email templates​

Logto email service uses unified email templates tailored for specific authentication scenarios:

UsageScenario
RegisterUsers create an account using their email and verify it by entering a verification code sent by Logto to their email.
SignInUsers sign in using their email and verify by entering verification code instead of entering a password.
ForgotPasswordIf users forget their password during login, they can choose to verify their identity using the email they've already verified with Logto.
GenericThis template can be used as a general backup option for various scenarios, including testing connector configurations and so on.
OrganizationInvitationUse this template to send users an invitation link to join the organization.
UserPermissionValidationDuring app usage, there may be some high-risk operations or operations with a relatively high risk level that require additional user verification, such as bank transfers, deleting resources in use, and canceling memberships. The UserPermissionValidation template can be used to define the content of the email verification code users receive in these situations.
BindNewIdentifierWhen a user modifies their profile, they may bind an email address to their current account. In this case, the BindNewIdentifier template can be used to customize the content of the verification email.

An example of email templates for the "Register" usage type with custom brand information:

Logto built-in email service sample

If no custom brand information is provided, the email template can still be used with a default display and layout:

Logto built-in email service sample without branding

FAQs​

Is it possible to add custom CSS or HTML to Logto email service?​

Logto's built-in email service doesn't support custom CSS or HTML. You can only modify generic branding elements. This restriction is in place to maintain built-in email service stability, as all tenants share the same IP address and sender address. For more details, please refer to "Factors to improve email delivery".

To customize email templates, we recommend using another email connector, such as AWS Direct Mail, SendGrid, Mailgun, Postmark, or SMTP.