Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/connectors/email-connectors/built-in-email-service.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,27 @@ If no custom brand information is provided, the email template can still be used
alt="Logto built-in email service sample without branding"
/>

### Localization \{#localization}

Logto's built-in email service supports multiple languages. It automatically detects the user's Sign-in Experience settings and sends emails in the user's preferred language.

When sending organization invitations through Management API, you can specify the `locale` parameter in the request payload. E.g.:

```json
{
"inviterId": "inviter-user-id",
"invitee": "invitee-email-address",
"expiresAt": "epoch-timestamp",
"organizationId": "organization-id",
"messagePayload": {
"link": "https://your-app.com/invite-accept?invitation-id=abcd1234",
// highlight-start
"locale": "fr"
// highlight-end
}
}
```

## FAQs \{#faqs}

<details>
Expand Down
2 changes: 1 addition & 1 deletion docs/connectors/email-connectors/email-templates.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Logto offers three distinct approaches for email template management:
- [Logto Built-in Email Service](/connectors/email-connectors/built-in-email-service)
- **Capabilities**:
- ✅ Native variable support
- Multi-language templates _(Coming soon)_
- Multi-language templates
- ❌ Template/UI modifications disabled

## Email template types \{#email-template-types}
Expand Down
Loading