Hi Mina,
I have AT&T Yahoo email and I was sync to Thunderbird until my Ubuntu got trashed when I made Win 10 the first in the boot selection screen of Ubuntu 18.4. When that happened, I could not use the trash can icon to delete emails in the spam and trash folders. I have to make the emails and then use the Delete key in the menu at the top of the screen.
Pat