email code and tempate changes