[WO-163] make pending mails visible in offline mode

* pending mails will be removed from the outbox only after they have been successfully sent
* pending mails are visible in offline mode