email needs test, but templates work