I found that a method I was hoping to publish is already known. What would be a proper way to retract emails sent to professors asking for help?
Don't worry, we do that all the time (figuring out something has been done/shown before). It actually shows that you do your work.
Maybe give a link to the other solution/work as well in case they are interested (though this is coming from a very different field).