Example of email API