prepare for mail