add write command to generate dummy mails.