Email notification upon registration

Applied this function on users/add & users/register