Logout stops mail services. Closes: #3553

This needs https://github.com/leapcode/leap_mail/pull/41 to be merged first.