I think you will need to leave one unread message in each sub-folder. You could send yourself messages and move one to each box and mark them as unread. I had a very similar problem click here and the suggested solution by Megatyte has worked.
Samsung Galaxy S8 review
1995-2015: How technology has changed the world in 20 years
What’s happening in VR right now: From psychedelic art to combat therapy
Siri not working? Try these troubleshooting fixes
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.