yahoo will delete your emails after 1 year
if you dont login for 1 year
We’re so glad to see you’re back! Due to inactivity, your mailbox entered an inactive state. This means we stopped accepting your incoming emails. If your period of inactivity was long enough, we also deleted all of your emails. Now that you’ve signed back in, your mailbox has been reactivated and you will start receiving new emails again shortly.
see https://en-global.help.yahoo.com/kb/mail/SLN2018.html?.tsrc=316&bt_user_id