call the gen_email function

tiny pull done for record keeping