Fixed mailing error and stylesheet issue