# observe\_email\_received/2

Source: https://zotonic.com/docs/2022/observe_email_received-2

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

Language: en



Notification sent to a site when e-mail for that site is received

Type:

[first](/id/doc_developerguide_notifications#notification-first)

Return:

`#email_received{}` properties:

- to: `binary`
- from: `undefined|binary`
- localpart: `binary`
- localtags: `list`
- domain: `binary`
- reference: `binary`
- email: `record`
- headers: `list`
- is\_bulk: `boolean`
- is\_auto: `boolean`
- decoded: `unknown`
- raw: `unknown`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2022?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/2022?language=en>)
