working on documentation for email api