eddsr_get_email_to adaption for testing