imap: encode subject and date in json
imap: encode from, to, cc data in json