Fix email creation from console