Skip to main content

Customize email templates

You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

The following topics explain how you can customize email notifications that are sent to users of your WSO2 Identity Server organization.

Customize email branding​

Once you publish your branding preferences on WSO2 Identity Server, the branding preferences are automatically applied to emails sent to the users of your organization.

Email templates for B2B applications

If you have set up organizations, you can customize email templates to fit the branding needs of each organization. If you do not customize a specific email template, the default email template will be applied.

The branding variables that affect the email templates are as follows:

Branding email templates

Template variableBranding preference
1Organization LogoDesign > Theme Preferences > Images > Logo URL
Logo alternative textDesign > Theme Preferences > Images > Logo Alt Text
2Primary colorDesign > Theme Preferences > Color Palette > Primary Color
3Email background colorDesign > Theme Preferences > Color Palette > Body Background > Main Background Color
4Email body colorDesign > Theme Preferences > Color Palette > Surface Background > Main Surface Background Color
5Email fontDesign > Theme Preferences > Font > Font Family
6Email body font colorDesign > Theme Preferences > Color Palette > Text Colors > Primary Text Color
7Email button font colorDesign > Theme Preferences > Buttons > Primary Button > Font Color
8Copyright textGeneral > Copyright Text
9Support emailGeneral > Contact Email

Customize email content​

You can tailor the subject, body, and footer of email notifications to your preferences by following the steps below.

note

This feature is only available for the most frequently used email templates. You can customize all available email templates using the Email Templates API.

  1. On the WSO2 Identity Server, go to Branding > Email Templates.

  2. Select the email template and the relevant locale that you wish to modify.

    note

    WSO2 Identity Server gives you the option to automatically copy a template from one locale to another so that you don't have to create email templates from scratch. To do so, select a locale with an existing email template, switch over to the new locale and click confirm when the Replicate content? prompt appears.

    Select email template
  3. Make your modifications in the Content tab and use the Preview tab for a real-time preview.

  4. Click Save to publish your changes.

Apply changes to user profiles

To apply these changes to each user's profile in your organization:

  1. Display the local attribute on the user's profile. Learn how to do so in updating user attributes.

  2. Update the local attribute value with the required locale code. The value should be updated by,

    • the admin, if the admin onboards the user to the organization.

    • the user, if the user self-registers to the organization.

Alternatively, you can customize the content of email templates using the Email Templates API provided by WSO2 Identity Server.

Was this page helpful?