adam-singer / dart-carte-du-jour

Pub documentation generation system
www.dartdocs.org
Other
25 stars 8 forks source link

Send emails on failed or successful builds to package uploaders #85

Open adam-singer opened 10 years ago

adam-singer commented 10 years ago

A simple way this could be managed is via http://sendgrid.com/ free account or upgraded paid account. I dont think we will reach the limits of email at the moment. Benefits of sendgrid is they can manage the subscribe/unsubscribe for the user. We would just need to fire off the message.

sethladd commented 10 years ago

Can't we send an email via some API in google cloud?

adam-singer commented 10 years ago

Good call, didn't even think gmail api was available, should be able to get something going based on the following sample https://developers.google.com/gmail/api/quickstart/quickstart-java. This might require a new client api to be generated, gmail is newer then the last time the google client apis were generated. Martin is still refactoring the old generator, not sure if its ready for prime time. https://discovery-check.appspot.com/docs/ gmail api should available from discovery api :+1:

adam-singer commented 10 years ago

ok, scratching the surface of gmail/api might only be available to clients. Hopefully dont have do some hoops to get a user token to send emails. I'll try and use it from the server as the clientid as the client. In general the google cloud suggestion is to use sendgrid https://developers.google.com/compute/docs/sending-mail

sethladd commented 10 years ago

oh, well then, by all means use sendgrid :)

butlermatt commented 10 years ago

/sub