To use the notification plugin for sending emails with attachments, you must define the same topic configuration as for sending regular notifications. A notification template must be created, and the corresponding Kafka topics must be defined.


Prepare your email template (notification template)

Verify Kafka topic configuration

Add a Send Message Task (Kafka) and Receive Message Task (Kafka)

Configure the email request payload (Send Message Task)

Configure the email success handler (Receive Message Task)

Run the process

| Field | Description | Example |
|---|---|---|
| templateName | The unique identifier of your email template | βaccountDetailsβ |
| channel | The delivery channel (use βMAILβ for email) | βMAILβ |
| language | Language code (must match a template language) | βenβ |
| receivers | List of email addresses to receive the message | [βcustomer@example.comβ] |
| Field | Description | Example |
|---|---|---|
| contentParams | Key-value pairs for template variable replacement | {"firstName": "John"} |
| attachments | List of files to attach to the email | See below |
| Problem | Solution |
|---|---|
| Email not received | Verify template name, receiver address, and SMTP configuration |
| Missing attachment | Check that the MinIO path is correct and the file exists |
| Template errors | Ensure all variables in template have corresponding values in contentParams |
| Variable resolution | Confirm process variables use the correct path (check in process instance view) |