finally got email working locally. let's see if I can do it for production.