bugfix editor for emails