support for changing email addresses; closes #158