Import and parse emails

Job ID: 34630864

Budget: $25 – $50 USD

I have an existing app that (among many other things), imports emails from customers, decodes them if necessary, strips any embedded formatting, maintains them in a database linked to other customer/order info, and allows me to read, reply, and reply quote.

The trouble is that the importing regularly fails to properly strip the HTML formatting, decode or parse the incoming email so that they are incomplete or read like this: "SGkgQm9iLE9oIG15IGdvb2RuZXNzISHCoCBQbGVhc2UgdGFrZSBjYXJlIG9mIHlvdXJzZWxmIcKg
wqBUaGFuayB5b3UgZm9yIHNlbmRpbmcgdGhlIHNlcnZpY2UgZmlsZS7CoCBNeSBzb24gd2lsbCBi..."

The developer (who is available for consultation) has failed to resolve these issues. I'm looking for someone who has experience parsing incoming emails.
Related categories: PHP JavaScript Python Software Architecture JSON