# observe\_email\_ensure\_handler/2

Source: https://zotonic.com/docs/1350/observe_email_ensure_handler-2

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

Language: en



Add a handler for receiving e-mail notifications

Type:

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

Return:

`{ok, LocalFrom}`, the unique localpart of an e-mail address on this server.

`#email_ensure_handler{}` properties:

- notification: `unknown`
- user\_id: `unknown`
- resource\_id: `unknown`

License: 

Attribution: 

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