Email notifications: Common errors
Solutions for missing emails, wrong recipients, emails sent too often and empty variables.
If an email doesn't arrive, first check whether fonio triggered the action. Only after that is it about delivery by the mail server.
Work through the diagnosis in the following order.
Quick check: email doesn't arrive
1. Is the email action enabled?
Open your assistant and check that the correct email action is switched on and fully saved.
2. Is the execution time correct?
Check when the action should run:
- Before the call
- During the call
- After the call
Most emails with call content are sent after the call. Before the call, no information from the call is available yet.
3. Is the action available at the time of testing?
Check whether the action is active always, only within or only outside your opening hours.
An action set to outside opening hours will not run if you test during business hours.
4. Is the sending condition met?
An empty condition means the email is sent for every matching call.
If the condition is too narrow or unclear, the action runs rarely or not at all.
Good condition:
Send this email if the caller explicitly asks for a callback.
5. Is the correct recipient type selected?
Check whether you want to use a fixed or a dynamic address.
- Fixed address: The email is always sent to the address entered.
- Dynamic address: The address is determined from the call or based on your rules.
6. Are all required variables filled?
Open the affected call in the conversation history. Check whether variables such as name, request and email address contain a value.
7. Was the email triggered?
In the conversation history you can see whether the email action was executed.
If it was not triggered, the problem is usually the condition, the execution time or the availability.
8. Check spam and quarantine
Check:
- Spam folder
- Junk folder
- Mail server quarantine
- Company-wide email filters
- Blocked senders or domains
9. Allow the sender domain
fonio sends these emails from addresses of the domain:
@user-mail.fonio.info
Add this domain to the allowlist of your mail server or spam filter.
10. Test an alternative address
Send the email to a different address as a test, for example a private Gmail inbox.
If it arrives there, the problem is most likely with the filters or settings of the original mail server.
The email is not sent
Possible causes
- The action is not enabled.
- The execution time doesn't fit.
- The opening hours prevent execution.
- The condition was not met.
- The recipient is missing.
- A required variable is empty.
- The action was not saved.
Solution
Open the email action and check the settings in this order:
- Execution time
- Availability based on opening hours
- Always or Send with condition setting
- Recipient type
- Email address
- Variables and their descriptions
- Subject and content
For testing, start with a simple condition:
Send this email if the caller asks for a callback.
Then make a test call and explicitly ask for a callback.
The dynamic recipient is empty
Possible causes
- The email address was not asked for during the call.
- The caller did not give an address.
- The variable is not defined.
- The variable has no description.
- The variable name doesn't match the recipient field.
- The assistant did not fully understand the address.
Solution
Check the variable directly in the email action.
Create a variable like this:
{{email_address}}
Select the type String and add a clear description:
The full email address the caller gives during the call.
Also add a matching rule to your prompt:
If an email should be sent to the caller, ask for their full email address.
Repeat the captured address and ask the caller for a short confirmation.
The address must come up in the call
A dynamic recipient only works if a valid address is available. If your assistant cannot capture an address, the email cannot be sent to this recipient.
How to test it
- Ask your assistant during the call to send an email.
- Say your email address clearly.
- Confirm the repeated address.
- Then open the conversation history.
- Check whether the variable was filled completely.
Only the variable name appears in the content
The email literally shows, for example:
{{customer_name}}
Possible causes
- The variable was typed in manually.
- The name is misspelled.
- The variable was not defined.
- The variable description is missing.
- The required value was not mentioned during the call.
- The variable is not yet available at the selected execution time.
Solution
Always insert variables via Add variable.
Then check under your own variables:
- Variable name
- Type
- Description
- Value actually captured
Example:
Hello {{customer_name}},
we have received your callback request.
Variable description:
The caller's full name.
For known system values, use the built-in variables. For example, insert the caller's phone number via {{personNumber}} instead of having it extracted from the call again.
An email is sent after almost every call
Cause
The sending condition is empty or too general.
Without a condition, the email is sent after every call that matches the execution time and the selected opening hours.
Solution
Enter a specific condition.
Too general:
Send an email for a request.
Almost any call can be understood as a request.
Better:
Only send this email if the caller explicitly asks for a callback.
Another example:
Only send this email if the caller reports a technical problem that was not solved during the call.
How to test it
Make two calls:
- A normal call in which the condition is not met.
- A call in which you explicitly ask for a callback.
The email may only be sent for the second call.
The email goes to the wrong recipient
Possible causes
- A fixed address was used although the address should come from the call.
- A dynamic address was selected although your team should always be notified.
- The condition for selecting the recipient is unclear.
- Several email actions run at the same time.
- An old address is still stored in a second action.
Solution
Check the recipient mode.
Fixed addresses
Use fixed addresses for:
- Support requests
- Callback requests
- New leads
- Internal call summaries
support@example.com
Dynamic addresses or let the AI decide
Use this setting if the recipient follows from the call or from a clear rule.
If it is a sales inquiry, send the email to sales@example.com.
If it is a support request, send the email to support@example.com.
If the message should go directly to the caller, their email address must be captured during the call.
Also check whether a second email action with a similar condition is active.
The same email is sent multiple times
Possible causes
- Several email actions have the same condition.
- One action is set to Always and another uses a matching condition.
- The same recipients are entered in several actions.
- An internal and an external notification overlap.
Solution
Open all email actions of the assistant and compare:
- Execution time
- Opening hours
- Sending condition
- Recipient
- Subject
Give each action a unique internal name.
Examples:
- Callback to support
- Confirmation to caller
- New sales inquiry
This way you can see faster which action is responsible for which message.
fonio shows "sent", but the email doesn't arrive
What it means
fonio has handed the email over to the sending service. After that, the message can still be filtered, rejected or moved to quarantine by the receiving mail server.
Solution
Check in this order:
- Spam folder
- Junk folder
- Company server quarantine
- Rules and filters in the mailbox
- Blocked sender domains
- Mail server allowlist
Add this domain to the allowlist:
@user-mail.fonio.info
Then send the message to an alternative address as a test.
Interpreting the test result
The alternative address receives the email
The problem is most likely with the original mail server or its filter rules. Contact your internal IT or your email provider.
The alternative address doesn't receive anything either
Check the conversation history and the email action again. Then send us the call link and the recipient address.
The email content is incomplete
Possible causes
- A variable was not captured during the call.
- The caller did not give the information.
- The variable description is too vague.
- The action runs during the call instead of after it.
- A system variable was replaced by a custom variable.
Solution
Open the affected call and check which values were actually captured.
Phrase the descriptions of your variables as specifically as possible.
Too vague:
Request
Better:
The caller's request, summarized in no more than two short sentences.
If the email should contain all information from the call, run it after the call.
The problem persists
If an email still doesn't arrive or contains wrong content, send us:
- The name of the assistant
- The name of the email action
- Date and time of the test call
- The link to the call
- The recipient address
- The condition used
- The execution time
- A screenshot of the conversation history
- Whether an alternative address worked
You can find a template under How to report a technical problem.
