Setup Shootmail SDK
If you are an existing user, just update the Shootmail SDK. If you are a new user, head to the SDK setup pageSetup Better Auth
Refer Better Auth documentation to get startedIntegrating Shootmail templates
Clone the pre-built better auth email templates to further customize them. These pre-built email templates already have the required parameters configured. You can add custom elements like buttons, footer, social media links etc. Guide on cloning the templates. Cloning the template will also generate aunique template ID that you will need to send emails with better auth.
Sending emails
Common params for all the email methods:
The template ID of the email template you generated by cloning pre-built better auth templates
The email provider you want to use to send the email. If you have configured only one email provider while initializing the Shootmail client, you can skip this.
The only configured email provider will be used as default.
Methods
Signup verification email
subject, preHeader, provider, from are available to use. Below is the
required params for this method.
OTP verification email
subject, preHeader, provider, from are available to use with this method.
Below is the required params for this method.
Password reset email
subject, preHeader, provider, from are available to use with this method.
Below is the required params for this method.
Change email verification email
subject, preHeader, provider, from are available to use with this method.
Below is the required params for this method.
Delete account verification email
subject, preHeader, provider, from are available to use with this method.
Below is the required params for this method.
Invite organization member
subject, preHeader, provider, from are available to use with this method.
Below is the required params for this method.

