imapd: factor out Mail class into unnamed struct
imapd: introduce trustfrom configuration variable