add support to appendMessage with custom properties and flags (x-gm-* related)
Merge pull request #2 from outbounder/master

add support to appendMessage with custom properties and flags