How to track emails statuses
I am creating an saas email marketing system where users can create a company and run campaigns. Each user receives emails, which I send through smtplib. I then fetch the emails back using IMAP. I need to track the status of the emails, such as whether they are delivered, opened, or received an automated reply, etc.