mailer service
All templates could be found here
endpoints
mailer.ping
This endpoint always returns pong message
Response:
{
"message": "pong"
}
mailer.send
Input
request_id: string - (optional) the request id, needed to keep consistency across servicesreceiver: string - the email receivertemplate_name: string - the template that's going to be usedoptions: Map<string, string> - template specific options
Example input
{
"request_id": "hello_world",
"receiver": "onasty@example.com",
"template_name": "email_verification",
"options": {
"token": "the_verification_token"
}
}
Template specific options
email_verificationtokenthe token that is used in verification link
reset_passwordtokenthe token that is used in password reset link
confirm_email_changeemailthe email user want to set as newtokenthe token that is used in confirm link