Bug fix for mail not sending on user signup