Updated basic mailing script (#54)