Needed to modify /dist/server/lib/emailer.js to get mail sending set up on peertube because I couldn't figure out how to get it to not fail on the mail server's self signed cert through regular settings. Added rejectUnauthorized: false to the tls object and that made everything happy.