# Bounce Account

The bounce account allows you to setup one of your existing mailboxes to received all the invalid [bounced](https://en.wikipedia.org/wiki/Bounce_message) back emails from your email [campaigns](/form-management/campaigns/campaign/email-distribution.md). Thanks to the bounce account you are able to see which emails to which you sent out [invitations](/form-management/campaigns/campaign/email-distribution.md) are not valid anymore.

## 📧 How does the bounce detection work ?

To give you a better understanding on how it works you will find below the complete process used by ngSurvey to detected a bounce email.

1. You send an [email invitations](/form-management/campaigns/campaign/email-distribution.md) to <ekewiweiwe@remotedomain.com>
2. This email is invalid and the mail server remotedomain.com will craft an error message that will be sent back to your bounce email mailbox.
3. ngSurvey will periodically scan your mailbox to see if it can detect any messages.
4. ngSurvey detects the message from remotedomain.com in your mailbox and parse its content based on advanced heuristics to check if its a bounce back.
5. It detects that its a bounce back and flags the <ekewiweiwe@remotedomain.com> as being invalid and bounced and you can see it in your [campaign batches](/form-management/campaigns/campaign-batches.md).
6. It deletes the bounced message from your mailbox.

## 🔅 Bounce account properties

* **`Account type`** type of email provider used for the mailbox
* **`Bounce email`** email of your mailbox that will collect the bounced email messages.
* **`IMAP mailbox`** name of your IMAP mailbox if you're mailbox is hosted using IMAP.
* **`Mail Server`** hosting your mailbox.
* **`User name`** to access your mailbox.
* **`Password`** to access of your mailbox.
* **`Connection interval`** minutes after which ngSurvey will check for new incoming bounced email messages.
* **`Bounced emails delete delay`** minutes based on the receiving time of the emails after which ngSurvey will delete the mailbox emails that were tagged as bounced.
* **`All emails delete delay`** minutes based on the receiving time of the emails

  after which ngSurvey will delete all the emails of the mailbox.&#x20;

{% hint style="info" %}
The bounce email will be shown inside the recipient email client as the sender of your [email invitations](/form-management/campaigns/campaign/invitation-message.md) however note that when the recipients replies its email client will use the proper sender email address that you have used for your [email invitation message](/form-management/campaigns/campaign/invitation-message.md).&#x20;
{% endhint %}

&#x20;&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ngsurvey.com/installation-setup/system-settings/bounce-account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
