changes for inmedtech and email invoice