[FIX] e-mail message id not unique

Implements [ticket 3020](https://www.openproject.org/work_packages/3020)