add email alert
Merge pull request #3 from philsong/platform

add email alert