Made getEmail take optional user and fixed notifications so it passes userToNotify in to get their email