Email connector
The Email connector sends messages through SMTP configured on your Dolibarr instance. Use it to notify a team or customer after an ERP action.
🔌 SMTP prerequisites
Before using this connector:
- Configure SMTP in Dolibarr (host, port, encryption).
- Send a test email from Dolibarr (administration menu).
- Confirm the default sender is allowed by your mail provider.
Without valid SMTP, the run fails with a clear error in run history.
🔌 Node fields
| Field | Description |
|---|---|
| To | Recipient(s), comma-separated; {{ }} allowed |
| Subject | Message subject |
| Body | HTML or plain text depending on mode |
| Attachments | Files from a previous node or controlled paths |
🔌 Templates and personalization
Build the body with expressions:
Hello {{ nodes.tier.output.name }},
Your invoice {{ nodes.invoice.output.ref }} is available.For recurring layouts, centralize a fragment in a Logic node or reuse a workflow template from examples/*.knot.json.
🔌 Online demo
On the public Knot demo (demo.example.com), real sending is often disabled to prevent spam. You can still:
- configure the node;
- validate the graph in Simulate;
- read the “would have been sent” payload in the inspector.
On your own Dolibarr, sending uses your real SMTP settings.
🔌 Best practices
- Do not email secrets (use short signed links if needed).
- Respect GDPR: lawful basis and opt-out for marketing use.
- Limit frequency: prefer a spaced Cron trigger over mail on every micro-event.