create_email_message_by_user_id
Create and send personalized email messages to specific users by their ID within the Eduframe platform, using customizable templates with dynamic tags.
Instructions
Create and send an email message to a user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ID of the email | |
| from | Yes | From field of the email. The default is the educator reply to email. It is possible to use tags delimited by two pairs of curly braces, i.e. `{{educator.reply_to}}`. | |
| subject | Yes | Subject line of the email. It is possible to use tags delimited by two pairs of curly braces, i.e. `{{user.full_name}}`. | |
| body | Yes | Body field of the email, allowing HTML format. It is possible to use tags delimited by two pairs of curly braces, i.e. `{{user.full_name}}`. Since this is JSON it does not accept `"` characters and multi-line strings. The body must be properly escaped before sending. This can be done automatically or manually. Example tool: https://www.freeformatter.com/json-escape.html#before-output |