rewrite writer mailer confirmation file