# mod\_email\_receive

Source: https://zotonic.com/docs/2086/mod_email_receive

URI: https://zotonic.com/id/2086

Language: en



Enables the Zotonic site to receive emails for the site’s users. The user’s email address is username@hostname, where the hostname is the hostname as configured in the [site’s config file](/id/doc_developerguide_sites#guide-site-anatomy).

Any email that has no valid recipient is rejected. Inbound email module for receiving and routing emails addressed to site users.

Accepted Events
---------------

This module handles the following notifier callbacks:

- `observe_email_add_handler`: Register a recipient handler that maps inbound recipient addresses to modules/resources.
- `observe_email_drop_handler`: Remove a previously registered inbound recipient handler.
- `observe_email_ensure_handler`: Ensure a recipient handler registration exists, creating it when needed.
- `observe_email_received`: Route incoming email to the recipient-specific module handler based on recipient address.

Delegate callbacks:

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2086?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2086?language=en>)
