Add documentation for email integration

Closes gh-1904