email code written but can't test til publishing really