Mail function with control e-mail