add gmail compatibility
Merge pull request #7 from isururanawaka/master

add gmail compatibility