registration email bugfix