First code for sending and bouncing mail