Sounds good. And to make it a bit more generic maybe it is better to do it with pattern matching. If the attribute contains mail then do it. This way we will cover mail, e-mail, email etc.