Send Email
meisa_send_emailSend a triggered (transactional) email to a single email address via a pre-configured Meisa email trigger. Use this when the user wants to send a one-off email to a specific person (e.g. a verification code, password reset, or notification). The trigger_key must already exist in Meisa (use meisa_list_triggers to find available triggers). This sends a real email immediately. Do NOT use for bulk/broadcast emails — use meisa_send_broadcast for that instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_email | Yes | The recipient's email address. | |
| recipient | No | Optional recipient details to use if the contact doesn't exist yet. external_id and custom_fields are only applied when the contact is created. | |
| variables | No | Template variables to inject into the email body. Keys must match the trigger's expected_variables. Example: {"first_name": "Alice", "reset_link": "https://example.com/reset?token=abc"} | |
| trigger_key | Yes | The trigger key slug configured in Meisa (e.g. 'welcome_email', 'verification_code'). Use meisa_list_triggers to find available trigger keys. |