added two new functions for mail testing things