styling mail and redirect