added gcm and thread_id to parser
created database logging
Ignore emails not sent to armadillo.xvm.mit.edu

and fix a test case