email class construction now has variable for stdout