cleaned up code for confirmationmail