How can I send email from a Gmail account using Google-App-Engine? The sender address is the problem, this is understandably restricted because of spam. (Restrictions are here: https://developers.google.com/appengine/docs/java/mail/usingjavamail#Senders_and_Recipients )
Aim: I want users to come to the web site, register to use the service (via OAuth). And the service will be able to send email with the "sender address" set to the users email address. (Service: spreadsheet formula that sends email)
Related question: Accessing Gmail account from Google App Engine
Options:
1) Avoid JavaMail: Email via HTTP looks like it would work for a small fee. Could use: Amazon SES aws.amazon.com/ses/
not possible 2) contextIO - some people have suggested contextIO. Update: does not send email, see http://context.io/docs/2.0
3) OAuth - it looks like you can use OpenID and send email as the current logged in user. So maybe offline sending with OAuth is possible. (Users API https://developers.google.com/appengine/docs/java/users/)
4) sender verification - (Only usable to test things out, not a production quality solution) App Engine has "Invite a user to collaborate on this application" as viewer. Maybe there is a API for adding collaborators.
Picked 5) Sockets/SMTP trial - (authenticated SMTP only) in Sep 2012 google posted http://googleappengine.blogspot.com.au/2012_09_01_archive.html