# Default Thread For Unbounded Emails

This module extends the functionality of mail fetching to support choosing a mail thread that acts as a mail sink and gathers all mail messages that Odoo does not know where to put.

Dangling emails are really a problem because if you do not care about them, SPAM can enter your inbox and keep increasing fetchmail process network quota because Odoo would gather them every time it runs the fetchmail process.

Before this, your only choice was to create a new record for those unbounded emails. That could be useful under some circumstances, like creating a `crm.lead` for them, but what happens if you do not want to have lots of spammy leads? Or if you do not need Odoo’s CRM at all?

Here we come to the rescue. This simple addons adds almost none dependencies and allows you to direct those mails somewhere you can handle or ignore at wish.

Table of contents

- Configuration
- Usage
- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

# Configuration

To configure this module, you need to:

1. Go to Settings > General Settings > Configure the incoming email gateway.

2. Create or edit a record.

3. Configure properly.

4. Under Default mail thread, choose a model and record.

   Tip: if you do not know what to choose, we suggest you to use a mail channel.

# Usage

To use this module, you need to:

1. Subscribe to the thread you chose as the Default mail thread.
2. You will be notified when a new unbound email lands in that thread.
3. Do what you want with it.

# Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

# Credits

## Authors

- Tecnativa
- Therp BV

## Contributors

- Tecnativa:
  - Jairo Llopis
  - David Vidal
- Therp BV:
  - Giovanni Francesco Capalbo

## Maintainers

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/social project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.