Endpoint for creating emails