How can we hide empty fields in emails in new preferences dialog?