Using the imap plugin and am seeing email come across in a variety of formats, sometimes txt, html, or base64 encoded like:
--000_9DC799C9E1E4436E8FDA8B3339216EB3forescoutcom
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: base64
SSBqdXN0IGRpZCBhIGN1dCBhbmQgcGFzdGUuICBJdCB3b3JrZWQgZmluZSBm
b3IgbWUuDQoNCmo5SjAjaX5WOA0KDQoNCg0KDQoNClRoYW5rcywNCg0KVGVk
DQoNCg0KDQpUZWQgU2xvY2tib3dlciwgQ0lTU1ANClN5c3RlbXMgRW5naW5l
ZXINCkZvcmVTY291dCBUZWNobm9sb2dpZXMNCkNlbGw6ICAgICAgIDIwMS00
NjMtNDA2NA0KT2ZmaWNlOi
...
Does anyone have an example of how to handle this issue? The data needs to go into ES in human readable/searchable form.
thanks