refs #138 add the condition to find editing mail address