Logto built-in email service
Logto provides built-in email services for your convenience in the following scenarios:
- Quickly explore or test Logto's email login experience.
- 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 — you cannot customize the sender's email address, domain, or the specific email content.
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 and WebHook triggers for sending emails, so you'll always find a way that suits you.
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:
- Go to Connector > Email and SMS connectors.
- To add a new Email connector, click the "Set up" button and select the "Logto email service" connector.
- Once the "Logto email service" connector is successfully created, you can customize the basic branding information displayed in the email templates.
- 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:
Usage | Scenario |
---|---|
Register | Users create an account using their email and verify it by entering a verification code sent by Logto to their email. |
SignIn | Users sign in using their email and verify by entering verification code instead of entering a password. |
ForgotPassword | If users forget their password during login, they can choose to verify their identity using the email they've already verified with Logto. |
Generic | This template can be used as a general backup option for various scenarios, including testing connector configurations and so on. |
OrganizationInvitation | Use this template to send users an invitation link to join the organization. |
UserPermissionValidation | During 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. |
BindNewIdentifier | When 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:
If no custom brand information is provided, the email template can still be used with a default display and layout:
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.