add email override functionality.