Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I automate the reading of emails?

  • 3 odgovori
  • 1 ima ovaj problem
  • 2 views
  • Posljednji odgovor poslao Zenos

more options

I get a lot of emails and want to create a script or program to automate the reading and scanning for information in these emails. Any suggestions other than digging into the various databases where the information is stored?

I get a lot of emails and want to create a script or program to automate the reading and scanning for information in these emails. Any suggestions other than digging into the various databases where the information is stored?

All Replies (3)

more options

What would you look for to identify an interesting or useful message? As put, it sounds like a non-trivial AI challenge.

more options

I would be looking for key words or phrases deemed important by the group.

It might be a trivial AI challenge if I had experience with AI, however, I do not. I also want to know what the database format is so I could query that. Is there an easier way to do it?

more options

There are Message Filters available to you, and you can add the abilty to use regular expressions in these. FiltaQuilla and Expression Search/GmailUI may be useful.

The "database" is based on mbox but I don't think parsing this would be an easy option. It is not wholly man-readable, being a near-verbatim record of the email messages as received, and message text may be encoded in a variety of ways. You'd need to be aware of mime and consequently what do with Base 64 etc. Some clients routinely use HTML-formatted wrapped up in Base 64.

https://en.m.wikipedia.org/wiki/Mbox https://en.m.wikipedia.org/wiki/MIME