[quote=“skaet”]While not out of the realm of possibility it’s pretty unlikely to gain popular usage, making the effort of development too high.
A plugin of this type would require leveraging GMails OAuth API over IMAP/SMTP. To look into it I suggest starting with Google’s own Python-based documentation. Naturally there’s a security concern involved which makes me think it’s better to look elsewhere or develop this privately where you have better control over its environment.[/quote]
It is really easy to send emails using gmail and Python
[code]import smtplib
fromaddr = ‘fromuser@gmail.com’
toaddrs = ‘touser@gmail.com’
msg = ‘There was a terrible error that occured and I wanted you to know!’
Credentials (if needed)
username = ‘username’
password = ‘password’
The actual mail send
server = smtplib.SMTP(‘smtp.gmail.com:587’)
server.starttls()
server.login(username,password)
server.sendmail(fromaddr, toaddrs, msg)
server.quit() [/code]
I just want to know how to use this as a sublime plugin.