Mail Management
Email notifications are the backbone of modern workflow applications, facilitating everything from user approvals and task alerts to real-time system updates. Softyflow's Emails settings centralize the way process emails are sent, the providers that send them, the templates they start from, and the email digest that lets users receive their notifications grouped.
To open the Emails settings: in the navigation dock of the IDE, click Settings (in the Account group), then Emails in the settings sidebar, or go directly to /ide/settings/emails. The former address /ide/mail-providers opens the same page. The page requires the Settings right.

The page has four groups:
- Process emails: individual sending and the email digest (see Process Emails and the Email Digest).
- Sending providers: the SMTP servers that send the emails.
- Templates: the starting point of new process emails.
- Error alerts: a summary of the alerts sent when a production instance fails, with a link to their settings in Instance tracking.
Changes made with a switch are saved at once. Providers and templates open in a sheet that you save with Save.
1. Configuring Mail ProvidersDirect link to 1. Configuring Mail Providers
Connecting an external SMTP provider gives you full control over how emails are sent from your Softyflow applications. This allows you to manage sender domains, track deliverability, and ensure compliance with your organization's IT infrastructure.
The Sending providers group lists every provider with its host, port and sender address. The default provider shows a Default chip. The SoftyFlow provider is used while no provider is set as default. Process emails go through the default provider, unless the process chooses another one. No test email is sent from this page.
1.1. Creating a New Mail ProviderDirect link to 1.1. Creating a New Mail Provider
Click Add a provider…. The New provider sheet opens:
- Name: A name to recognise the provider in lists (e.g., "Transactional Mail").
- Host: The hostname of your SMTP server (e.g.,
smtp.example.com). - SMTP port: Common ports are
587(STARTTLS) and465(SSL/TLS). - Secure connection (TLS): Usually for port 465.
- User: The username for SMTP authentication.
- Password: Required for a new provider. It is never shown again; leave it empty to keep the current one.
- Sender address: The sender of the emails, unless the process sets one (e.g.,
no-reply@example.com). - Advanced options: Optional JSON passed to the SMTP transport.
Click Save.

To use a provider for all process emails, open it and click Set as default…, then confirm. Stop using as default… sends the emails through the SoftyFlow provider again.
1.2. Common Use CasesDirect link to 1.2. Common Use Cases
A configured mail provider can be leveraged across the platform for various automated communications:
- Workflow Notifications: Send email alerts when a task is assigned, escalated, or completed in a process workflow.
- Custom Email Alerts: Send dynamic messages, such as approval summaries or error reports, from process scripts or integration workflows.
- Authentication Events: Password reset links and welcome emails of the authentication system.
- System Monitoring: Email alerts for process errors, set up in Instance tracking.
1.3. Updating a Mail ProviderDirect link to 1.3. Updating a Mail Provider
Click a provider in the list to open its Sending provider sheet. Make the changes and click Save. If someone else changed the provider since you opened it, SoftyFlow warns you before overwriting.

1.4. Deleting a Mail ProviderDirect link to 1.4. Deleting a Mail Provider
- Open the provider.
- Click Delete….
- Confirm. Its configuration and its password are erased.
If you delete the default provider, process emails are sent through the SoftyFlow provider until you set another default.
2. Email TemplatesDirect link to 2. Email Templates
A template is the layout of a process email: logo, colours and texts. It is the starting point of new process emails: the project's template, otherwise the default template, otherwise SoftyFlow's.
2.1. Creating a New TemplateDirect link to 2.1. Creating a New Template
- In the Templates group, click New template….
- Fill in the sheet:
- Name: A name for easy identification (e.g., "Company layout").
- Used for: All projects, or One project (then choose the Project). A project template comes before the default template. There is one template per project.
- Content: Click Edit the content… to open the visual email editor. Design the layout with drag and drop. Variables are written
{{ variable }}. Click Apply to keep the content in the sheet.
- Click Save.

To make a template the default one, open it and click Set as default…. Emails already created from a template do not change if the template is deleted.
2.2. Templating FeaturesDirect link to 2.2. Templating Features
- Dynamic Variable Substitution: Use the
{{variable_name}}syntax to insert data. For nested objects, use dot notation (e.g.,{{task.assignee.email}}). - Process & Task Data: Inject contextual information from process workflows, including process variables and task details.
- Role-Based Content: You can implement logic in your processes to send different emails based on user roles.
- Visual Editor: Design visually rich emails that align with your brand identity, without writing HTML.
2.3. Where Templates Are UsedDirect link to 2.3. Where Templates Are Used
- Process Design: New email steps of a process start from the template of the project, or from the default template.
- Run Monitoring: Send formatted error notifications to administrators.
By using templates, you ensure consistency, reduce development time, and maintain a professional look and feel across all automated email communications.
3. Process Emails and the Email DigestDirect link to 3. Process Emails and the Email Digest
Process emails are the emails sent by a process: the notification of a user task (Send notification email) and the email of a Send task. Emails sent by the sendEmail action of an interface or by the Email class of the web modeler SDK, and password, welcome and error emails, are not process emails: they are sent at once, as before, whatever the settings below.
3.1. Individual Sending and DigestDirect link to 3.1. Individual Sending and Digest
In the Process emails group, the Individual sending and digest switch changes how process emails are sent, for all users. It is off by default.
- Off: a process email is sent once, to all its recipients together (the To recipients and the Cc recipients in the same email).
- On: each recipient, Cc recipients included, receives their own email and only sees their own address. Every user can also choose to receive their process emails grouped into a digest, delivered at the time they choose.
The Per-user setting row opens the Users page: the digest time is set for each user.
Turning the switch off again:
- new process emails are sent grouped again: one email for all the recipients;
- the emails already waiting for a digest are not lost: they are still delivered in each user's next digest;
- the users' digest preferences are kept, but the Email notifications tab disappears from the portal, so users can no longer change their digest or click Receive now;
- in the IDE, the user's Notifications tab shows a warning that email grouping is disabled on the platform. An administrator can still send a user's pending emails at once from this tab.
3.2. Urgent Emails and the Mail PriorityDirect link to 3.2. Urgent Emails and the Mail Priority
The digest only applies to the process emails of the production environment. These emails are always sent immediately, even to users who receive a digest:
- emails whose priority is Very High or Critical (see below);
- emails of the TEST and UAT environments;
- emails sent to an address that has no SoftyFlow account: only platform users can receive a digest.
The urgency of a process email comes from the Mail priority field of the email step (new in 8.6): in the Notification section of a user task, under Send notification email, and in the Mail Configuration of a Send task:
- choose Normal, Very High or Critical, or type a variable, for example
{{ mailPriority }}, to decide for each instance; - when the field is empty, a user task uses its own Priority (Task Priority section); a Send task is Normal;
- if the variable cannot be computed, the field is treated as empty: the email is still sent.

3.3. Who Receives a Process EmailDirect link to 3.3. Who Receives a Process Email
The recipients of a process email are the Users and the members of the Roles of the user task (section Users And Roles; for a Send task: its To Users and To Roles), plus its Cc recipients (Advanced settings), with these rules:
- Blocked and deleted accounts never receive a process email, even when they are named as a recipient or in Cc. The emails that were waiting for their digest are withdrawn. When every To recipient is blocked or deleted, the Cc recipients still receive the email.
- Delegates also receive the notification: the active delegates of these users and role members get the email too. The dates, the projects and the weekly or monthly recurrence of the delegation are respected. The delegates of Cc recipients do not receive it.
- Addresses without a SoftyFlow account (external addresses) receive the email normally, always at once.
- Each address receives the email only once, even if it is listed several times or is both a recipient and a delegate.
3.4. How Users Choose the DigestDirect link to 3.4. How Users Choose the Digest
Users set their own digest in the applications portal: Settings › Email notifications (My settings page). On the classic portal, the settings page has the same Email notifications entry. The tab only appears when the Individual sending and digest switch is on.
- Turn on Group my email notifications.
- Choose the Frequency: Every day, Every N days (Number of days: 2 to 30) or Every week (choose the Days).
- Choose the Sending time (every 15 minutes) and the Time zone.
- Click Save.
The defaults are Every day at 08:00, time zone Europe/Paris; Every week starts with Monday. Every N days counts from the day the setting is saved. The next digest is computed in the user's time zone, summer time included.
The page also shows the Next digest, the Pending emails and the Last digest. Receive now (shown when emails are waiting) sends the pending emails at once. If the scheduler of the platform is not running, the switch is greyed out and the tab says "Email grouping is not enabled on this platform."

Administrators can manage the same settings for any account in the IDE: Users › user › Notifications tab (see User Management).

3.5. What the Digest ContainsDirect link to 3.5. What the Digest Contains
At the chosen time, SoftyFlow sends one email, "SoftyFlow - Digest of N notifications", in the user's language (French or English):
- a Summary at the top, with a link to each email, then the emails grouped by project and by process;
- each process email received since the last digest, with its subject, its Received on date and time (in the user's time zone), its From address when the process sets one, its Reply to address, and its content;
- the emails whose task has already been handled are marked Task already handled; those whose task no longer exists are marked Task deleted;
- at most 50 emails per digest email: beyond that, the digest is split into several emails;
- attachments are included up to 15 MB in total; the others are skipped and the digest says how many were left out;
- at the bottom, a Change my preferences link that opens the user's settings in the portal (
/settings).

The digest is sent from the sender address of the provider, or of the platform, never from the custom From address of a process email (that address is shown in the digest instead). The digest goes through the provider chosen by each process email; if that provider was deleted, through the default provider.
The emails still waiting are counted in the portal (Pending emails) and in the user's Notifications tab of the IDE (Pending mails). When a user turns the digest off, the pending emails are sent at once. If the digest cannot be sent because of a temporary failure (provider unreachable, 4xx "try again later"), it is tried again every 15 minutes, with no limit. A permanent refusal during a scheduled send counts as one attempt: after 3 attempts, the emails go to failed and are no longer sent. Receive now / Send the pending mails now does not use up an attempt. The content of a waiting email is kept for 45 days; after that, the email is removed from the queue.
4. Advanced Topics and Best PracticesDirect link to 4. Advanced Topics and Best Practices
4.1. Monitoring and TroubleshootingDirect link to 4.1. Monitoring and Troubleshooting
Effective communication requires visibility into your email delivery. Softyflow provides tools to monitor and troubleshoot email operations:
- Run & Instance Management: When a process email cannot be sent, the step fails and the instance goes into Error: open it to read the error and retry. Addresses refused by the mail server are skipped as long as at least one recipient was told.
- System Logs: Track the changes made to the providers (
CREATE_MAIL_PROVIDER,UPDATE_MAIL_PROVIDER,DELETE_MAIL_PROVIDER). - Error alerts: Configure alerts so that an administrator is told when a production instance fails.
- Provider Health: Regularly check the status and deliverability rates of your external SMTP provider through their own dashboards.
4.2. Security Best PracticesDirect link to 4.2. Security Best Practices
- Protect the password: The provider password is never shown again after it is saved; only users with the Settings right can change providers.
- Enable Secure Connection: Use a secure connection (TLS/SSL) to encrypt email data in transit.
- Restrict Permissions: Give the Settings right only to the administrators who manage providers and templates (see IDE Rights).
By following these best practices, you can build a secure, reliable, and scalable email communication system within your Softyflow applications.