Our app has a feture where we retrieve emails from one of our mailboxes to do data entry. We use PHP IMAP functions to handle all the processes, all good until recently we have more and more problems with parsing the emails, so much that we think it's not robust to keep maintaining it ourselves.
We were wondering if there any SaaS product out there that helps with this? In a nutshell, our process is:
- Users send emails to email email@example.com
- We build a function to fetch all the messages in that mailbox
- We extract the attachments and save them to our database
Our primary problem has always been dealing with email content from the users because each of them use a different email client to send the email, some even encrypt the attachment, etc. We need a more robust solution to help us handle this.