Send email using RESTful API