Emails

Userfront sends automated emails to users on behalf of our customers. This includes welcome, login, password reset, and other authentication emails.

To preserve our deliverability, when using a workspace in test mode, Userfront does not send any automated communications.

For more information, see Client API reference › Test mode (reset links).

#Automated emails

Below are some of our automated emails and events that will trigger the email.

#Welcome / confirmation

The welcome email will contain a unique link to confirm the user's account. This link will expire in 3 days and can only be used once.

The email subject will be Welcome to (workspace), confirm your email.

The welcome email is sent whenever the following occur:

#Login

The login email will contain a unique link to sign in to the user's account. This link will expire in 1 hour and can only be used once.

The email subject will be Your (workspace) login link.

The login email is sent whenever the following occur:

#Password reset

The password reset email will contain a unique link to reset the user's password. This link will expire in 1 hour and can only be used once.

The email subject will be Reset your (workspace) password.

The password reset email is sent whenever the following occur:

#Invitation

Invitiations are another way to add users or team members to a workspace.

There are 2 types of invitation emails:

  1. As a team member with a role
    • See Team members page in the dashboard to help manage your workspace
  2. As a new user with (or without) a role

The invitation email will contain a unique link to confirm a new account. Similar to the welcome email, this link will expire in 3 days and can only be used once.

The email subject will be Your (workspace) invitation link.

The invitation email is sent whenever:

#Resending Emails

Userfront does not support resending emails. The toolkit may display a resend button when and where it is appropriate, to be used in the event the email was not received.

The best way to resend an email is to repeat the action that triggered the automated email.

Please remember to wait, refresh and double-check your inbox's spam folder and ensure the email address is correct before attempting to resend an email.

Toolkit Resend Example

#Customizations

Userfront does not directly support the customization of automated emails. The best way to customize automated emails is to replace them with your own.

This can be done in one of two ways:

  1. Webhooks: Configure Userfront to notify your backend in the dashboard.
  2. The API: Server-to-server API › Generate link credentials to create login or password reset links directly, then use your preferred email service and template to send the email. Notification SDKs make this quick and easy, such as Postmark(opens new window), Knock(opens new window), Novu(opens new window), and Resend(opens new window).

#Rate limits

All endpoints that send emails or SMS messages to users are rate limited to mitigate spam, malicious activity, and accidental misuse.

Requests that exceed our rate limits will receive a 429 Too Many Requests response.

Read more about rate limiting.