skaet wrote: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.
fromaddr = 'email@example.com'
toaddrs = 'firstname.lastname@example.org'
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.sendmail(fromaddr, toaddrs, msg)
Users browsing this forum: No registered users and 6 guests