tried to get sample emailer to work, but not quite going yet