To be thorough, select "Privacy and security" in the sidebar, then click "Security" on the right side, and be sure to turn on "Enhanced protection" in the "Safe browsing" section.
The easiest way to retrieve deleted emails from Yahoo is by quickly going to the Trash folder and undeleting them.