Re:First Monthly Challenge: Elasticsearch
by YousefED on Wednesday October 22, 2014 @03:27PM
(#8494590)
I actually just loaded emails from both the GMail API and an mbox file into ES. Haven't gotten around to do advanced analytics yet, mainly using it to load into Mixpanel / Intercom to track events such as "customer has replied to one of our emails". We then use this info to do funnel analysis in Mixpanel, and exclude users we're currently in touch with via email from intercom onboarding emails.
Re:First Monthly Challenge: Elasticsearch
by arafalov on Wednesday October 22, 2014 @09:39PM
(#8496293)
Well, don't just brag. Write a blog post, publish a GitHub repo. Share it somehow.
Re:First Monthly Challenge: Elasticsearch
by fheisler on Wednesday October 22, 2014 @11:15AM
(#8493059)
I love the idea of analyzing your own gmail - will take a look into parsing MBOX data!
Re:First Monthly Challenge: Elasticsearch
by arafalov on Wednesday October 22, 2014 @11:25AM
(#8493118)
Ok, if you are going to do it, here is the bunch of links that got there part of the way and need someone to take further:
http://googleappsdeveloper.blogspot.com/2011/11/parsing-expo...
https://docs.python.org/3/library/mailbox.html?highlight=mai...
https://gist.github.com/ptwobrussell/8791064
http://www.kryogenix.org/days/2013/12/19/searching-my-email/
http://batleth.sapienti-sat.org/projects/mb2md/ (if going from mbox to mailbox is easier)
Re:First Monthly Challenge: Elasticsearch
by makmanalp on Wednesday October 22, 2014 @11:20AM
(#8493089)
I think you can also dump it in json, which would be ideal for this.
Re:First Monthly Challenge: Elasticsearch
by arafalov on Wednesday October 22, 2014 @11:22AM
(#8493103)
Which one of these can you dump into JSON? Do you have references? Could be nice.
Re:First Monthly Challenge: Elasticsearch
by grinich on Wednesday October 22, 2014 @12:48PM
(#8493547)
You could use the Inbox APIs! :)
More info w/ docs: https://www.inboxapp.com/
Open-source version: https://github.com/inboxapp/inbox
Another dataset with similar problem is Google Mail takeout. Theoretically in an mbox form, there is apparently enough quirks in there to not be parsable by the standalone 3rd party libraries. Somebody said python might be able to do it, but I haven't seen the confirmation specifically for Google Mail.
If you manage to do either and document the steps/share the code, I'll personally sing your praises at the search engine workshops/meetup/lectures I do (usually Solr rather ES).