renaming sendmail variable to remain consistant with nameing conventions