rework email obfuscation code