need to fix bug where if email does not contain name