Initializes mail service with the user id.

This will be used to properly obtain the private key that now is a
property. It will also be needed for the imap authentication.
add version_compat
Merge remote-tracking branch 'kali/bug/fix-mail-reinitialization' into develop