put sent mails in an outbox when testing