resolves #260 use code element instead of tt

- perform macro sustitution on email in document header