API for advanced email.