Setting up integrations
Integrations connect YouniqMail with the tools around it: an email becomes a Trello card, a calendar invitation lands in your Nextcloud calendar, an important message pings the Slack channel. The idea is always the same: information leaves the mailbox for the place where the work happens.
All integrations live in the settings in the Integrations section and belong to the Pro feature set.
The families at a glance
Section titled “The families at a glance”| Integration | Turns an email into | Trigger | Article |
|---|---|---|---|
| Trello | a card in a list | by hand and by rule | Task lists |
| Asana | a task | by hand and by rule | Task lists |
| Notion | a page in a database | by hand and by rule | Task lists |
| CalDAV Calendar | an appointment, usually from an invitation | on accepting or Maybe, by hand on the invitation card and by rule | Calendar |
| Webhooks | a message to Slack, Discord, Teams or your own targets | by rule | Webhooks |
| Script Runner | the call of a script of your own | by rule | Script Runner |
| Conferencing | a Teams meeting link while writing | in the compose window | Meetings |
By hand or by rule
Section titled “By hand or by rule”By hand: once Trello, Asana or Notion is turned on and connected, the three-dot menu (⋮) in the header of every message offers the matching action, such as Send to Trello. A dialog shows the preset target, the subject as title and the description the integration builds from its settings. You can still adjust all of it before sending.
Automatically: the actions are also available to the automation, each rule with its own target or the default from the integration settings. A rule like “Subject contains order → Send to Trello” turns the mailbox into an intake that processes itself. Webhooks and the Script Runner work by rule only.
Script Runner
Section titled “Script Runner”The Script Runner starts a script or program on your computer by rule, for example to file attachments or to nudge a system of your own. Scripts run with your permissions and have full access to the computer. Only set up scripts you trust.
- Open Settings → Integrations → Script Runner, confirm the security notice and turn on Enable Script Runner. YouniqMail asks once more in a dialog of its own; only with Turn On is the Script Runner on.
- Choose Add script and enter Name and Command path, preferably as a full path (Browse helps). A script is saved only once both are there.
- Use the script as the target of the Run script action in a rule.
If you like, the script gets the email’s data as process variables
(YM_SUBJECT, YM_FROM and more) or as a JSON object on standard
input. Independently of that, you can write placeholders like
{{subject}} or {{from}} into the arguments. YouniqMail does not
pass on the full email text or the attachments themselves, only the
start of the text and details of the attachments such as name and
size. Test starts the script with sample data.
YouniqMail stops a script that is still running after Timeout (ms). The default is 10 seconds, 60 at most. Without a Working directory (optional) it runs in your home folder. A script never sees the app’s internal credentials.
What integrations disclose
Section titled “What integrations disclose”As much as needed, as little as possible: only what the respective action requires is transmitted, typically subject, sender, date and the content of the one email something is being made of. There is no standing sync of your mailbox with a third-party service; without your doing (or your rule), nothing flows. Details on data storage under Which data lives where?.
Disconnecting
Section titled “Disconnecting”Trello, Asana, Notion and Conferencing can be disconnected on their settings page with Disconnect; the stored sign-in is removed from YouniqMail in the process. For Trello, Asana and Notion, YouniqMail also revokes access at the service; if that fails, for example without an internet connection, a notice tells you. For Conferencing, withdraw access in your Microsoft account settings if needed. Webhooks, CalDAV and the Script Runner are turned off, or their endpoints, accounts and scripts deleted.
What was already created in the target service (cards, tasks, pages, appointments) naturally remains there.
When Pro ends
Section titled “When Pro ends”Without Pro, all settings and connections stay stored, but no integration runs. In the settings, the integrations show as turned off, and the entries in the message menu disappear. Rules with an integration action pause as a whole, including their other actions. Waiting calendar changes keep waiting. Disconnecting, turning off and deleting work without Pro too. Once Pro returns, everything runs as before.