fix bug: when not sending the email correctly and alter some css