mailing and confirmation fixes