bug fix, consider first 512 bytes of imap text in addition to header