Gpg mailgate

Only apply to incoming emails.
Please merge this after #151.