If you have a gap in synced messages, see very old messages that would not normally be synced or see very few of your new messages, adjust the following setting:
Long press on the account > Options and folders > Account options.
Change the “Messages to sync” setting from a number based value (“25 messages” etc.) to a date range based value (“last 7 days”, etc.)
Refresh the account.