Yahoo only deletes emails in the Spam and Trash folders. Sometimes when emails go missing it's because of another program or app the account is being accessed from. Check out this post for more info and how to restore missing emails. The quickest way to "export" emails would be to download them through an email client (like Outlook or Thunderbird) using POP.
Check out our Tips and Tricks board for solutions to most Yahoo Mail issues!