fixed crash: not configured e-mail account
feature：add image attachment
Merge branch 'fixbug-1.0.8'
Merge branch 'fixbug-1.0.8' into develop
Merge branch 'feature-attachment' into develop
Merge branch 'release-1.0.9'
Merge pull request #8 from danielxu/master

fixed crash and add a feature