fix part of #301

I'll be merging this into master, so I can test the automatic mailing you were talking about.