finally got email working