adding EmailAttachment dom class and it's related json processing, temporary fixing the allmessages get request with contextio 1.1 as 2.0 always returns an empty jsonarray, needs fixing and switch to contextio 2.0 for periodic email retriaval