change email controller to only search by friendly_id