bugfix: crash when no confirmed email
Merge pull request #5 from liubin0329/master

bugfix: crash when no confirmed email.