Variables on email creating substituting incorrect values