How do I keep Emails flagged?

Emails that I pin in the built in Mail app don't stay pinned. Any ideas?
re:

'Flag' I suppose is the correct term.
re:

Which mail account?

I have numerous accounts with flagged items and have not had them unflagging on their own.
re:

Figured it out. It seems that if you have mail settings synced for say one month, anything flagged that's older than that won't stay flagged.
re:

Correct, I have everything set to forever.
I edited the title and converted this to a Q&A. 🙂 Gave you the "best answer" Jodan, since you answered your own question. 😉 Since we want to be able to help more people, now we will be able to! 🙂

Original thread: https://forums.imore.com/threads/how-do-i-keep-emails-flagged.371253/