added welcome email function