Hi,

I wanted to use gmail to send patch bomb emails directly from mercurial. I looked at..

https://chirp.danplanet.com/projects/chirp/wiki/DevelopersProcess#Setting-up-GMail-for-patchbomb-email

Some additional notes that might help people.

First ensure you have Two Factor Authentication enabled for your gmail account.

Next setup an app password for mercurial

https://security.google.com/settings/security/apppasswords

Select app - Other
Enter - mercurial
Note the app_password

Then in your hgrc file add/update the smtp section

[smtp]
host = smtp.gmail.com
port = 587
tls = True
username = mygmailname@gmail.com
password = app_password

Then when you have prepared the patch and runĀ 
 hg email tip
Enter past the CC prompt

Hopefully the patch will be sent!

ThanksĀ 

Nicolas