Introduction
The Email app does two things:- Sending emails from your workflows: invoices to customers, notifications, and error reports.
- Receiving invoices by email for your parties: each registered party gets an address, and the invoices sent there are imported into your workspace.
Configuration → Apps, find Email in the list of apps to discover, and tap Connect.

Sending emails
The Send via Email step sends an email. When the job has a silo entry, the entry’s files are attached and its customer or supplier can be a recipient; this is how invoices are sent. Without one, nothing is attached, for notifications or failures.Prerequisites
You can send emails fromCompany name <email@invopop.com> by simply connecting the Email app.
If you wish to send emails from your own domain such as Company Name <name@yourdomain.com>, you will need one of the following:
- A Resend account with a verified domain
- A SendGrid account with an authenticated domain
- An SMTP server which is authorized to send emails from your domain (Gmail, iCloud, Amazon SES)
Setup
Add Senders
Configure. You will find a pre-defined email address Invopop Email <email@invopop.com>. Editing this email address will allow you to customize the Sender name, allowing you to send emails with your company name Company Name <email@invopop.com>.You can add as many senders as you need by tapping on the Add button under Outgoing. Email providers other than Invopop will allow you to use your own domain name (after it’s configured with the email provider).
The Email app's providers: an incoming address domain and the default sender
Set up your workflow
Send via Email step after you have issued an invoice via the corresponding tax authority and generated a PDF (if required). This will ensure the necessary files are attached, and that the invoice complies with local regulatory requirements.
A workflow that signs the invoice, generates its PDF and emails it to the customer
Send via Email step in a job without a document attaches no files.Step configuration

Here you will find Senders which were added in the Email app configuration. A sender can be thought of as a person or company name and email address. To
Check
Automatically add invoice customers if you wish to send the invoice as an attachment to the customer. This is usually the case for B2C workflows. If you wish to send the email with attachments to a specific address, tap on the Add button and write an address in the email field.
You can combine both options: any addresses you add manually are merged with the automatically detected customer or party emails, so all recipients receive the message.
BCCBCC stands for Blind Carbon Copy, and is used when you do not want the recipients in this field to appear in the message header. Other recipients won’t know that a copy was sent to these addresses. This is useful to send a copy of the invoice to yourself, for example. Reply To
The “Reply To” field requires a valid email address where recipients’ responses will be directed. This field determines where replies go, regardless of the sending address. Subject
The email subject field is a brief heading that summarizes your message’s purpose. This field allows you to use template variables in order to customize the subject for the recipient. Body
The email body textarea is where you compose your message’s main content. This field allows template variables and will preserve whitespace. Combine attachments into a single zip file
It’s possible that your workflow generates several files per invoice (sometimes an XML and a PDF file are required by legislation). This option allows you to combine and compress all files into a single
.zip file.
Custom template variables with job args
In addition to the predefined variables available in the Insert variable menu, you can inject custom variables into your email templates using job args. This is particularly useful for dynamic content like payment links, conditional text, and other external data.How it works
When using the API to run a workflow you pass anargs data object with custom variables you want to inject into your email. You will then introduce the variable into the email’s subject or body with the following syntax: {{args.variable_name}}. If you need to provide a fallback in case the variable is not present, we recommend using the following syntax: {{ or args.value "Default value" }}.
Example: adding a payment link
Let’s say you want to send an email with a custom payment link. Here’s how to set it up:Configure your email template
customer_name, full_code and supplier_name) and custom variables such as {{args.payment_link}}.
Body field example with custom arguments
Execute the job with custom args
args) are key-value pairs tailored to specific applications, in this case we are creating a payment_link which will be available to the Email App. Create the job via API with the proper payload:Verify result
- Use
{{args.variable_name}}syntax in email templates for custom variables - Include the same variable names in the
argsobject when executing the job via API - Custom variables work in both email body and subject fields
- Variable names must match exactly between template and API payload
Receiving invoices by email
The Email app receives invoices for your parties. Each registered party gets an address of its own, such asclip.apple.leap@invopop.email, and every invoice sent there is imported into your workspace, with that party as the customer. It suits accounts payable: give a supplier the address, and their invoices arrive as silo entries.
It uses three steps: Register incoming endpoint gives a party its address, Import incoming document imports each invoice that arrives, and Unregister incoming endpoint releases the address.
Setup
Create the import workflow
Email receive invoice workflow
- Workflow
- Code
Configure receiving in the Email app
Configuration → Apps, open the Email app’s Configure page. Under Providers, in the Incoming section, add an incoming email connection: choose Invopop as the provider, and the import workflow from the previous step. Only workflows with the Import incoming document step are offered.
An incoming connection
Register your parties
org/party entry) that should receive invoices. The Register incoming endpoint step:- uses the party’s own address when it already has an email endpoint (
mailto:) on the Invopop domain, unless another party holds it; - fails when the party’s email endpoints are all on other domains, as mail to those can’t reach Invopop: remove them, or add one on the Invopop domain;
- otherwise creates a new address;
- adds the address to the party’s meta, with a
mailto:link. The party document isn’t changed.
Email register party workflow
- Workflow
- Code
Share the address

Two registered parties

Three invoices imported, and a reminder with nothing to import

A received email
What gets imported
Each invoice in an email becomes one job on the import workflow:- GOBL documents (JSON) are stored as they are.
- XML invoices, such as UBL or CII, are converted to GOBL.
- PDFs that carry their invoice as a file, such as Factur-X or ZUGFeRD, are converted from that file.
- A PDF sent with its XML is attached to the XML’s entry rather than imported on its own. They are matched by file name, by invoice number, or as the only XML and PDF in the email.
Unregistering a party
The Unregister incoming endpoint step releases the party’s address and removes it from the party’s meta. Email sent to the address afterwards is ignored.Email unregister party workflow
- Workflow
- Code
FAQ
How do I get errors emailed to me when a workflow fails?
How do I get errors emailed to me when a workflow fails?

Send via Email configuration in a workflow's error handler
- To — your own address (or a shared inbox / distribution list).
- Subject — write a short label such as
Error on invoice. You can use the Insert variable button to append the Full Code so you can identify which document failed. - Body — describe the problem, then use Insert variable to add the Full Code and the Faults variable.
Faultsexpands into the list of errors that caused the job to fail, so you get the full reason without opening the console.
Invoice [Full Code] has the following errors: [Faults] produces a message naming the document and listing every error.Once saved, any job that fails will trigger this step and send you the error details automatically.Is email in sandbox limited in any way?
Is email in sandbox limited in any way?
- Emailing customers is disabled in sandbox workspaces.
- Emailing suppliers is disabled in sandbox workspaces.
- Invoice PDFs will have a “Sample” watermark.
[Invopop Test]will be prepended to the subject.
How do I set up Gmail as my SMTP server
How do I set up Gmail as my SMTP server
How do I set up iCloud Mail
How do I set up iCloud Mail
How do I set up Microsoft 365
How do I set up Microsoft 365
How do I set up Amazon SES
How do I set up Amazon SES
My custom variable displays as <no value>
My custom variable displays as <no value>
args key/value pair was not set. Ensure that you pass a value, even if it’s empty:args by using a fallback: