Weve been using the WikiNotifyScript from trac-hacks.org for quite a while now. It helps us stay appraised of changes to all of our various wikis and its pretty easy to set up. However, when I had the brilliant idea of switching it to use Gmail as the SMTP server I ran into a snag: Gmail only supports logins through TLS. Recent Trac releases support TLS through smtplib, but unfortunately WikiNotifyScript doesnt share that code.
After a quick grep through the trac source I found the magic incantation nestled inside notification.py. It was a pretty simple matter to port what trac does over to WikiNotifyScript, so after a brief round of testing I posted the patch over on WikiNotifyScripts trac. Hopefully thatll save somebody some trouble.