Database persistence for e-mails