How to send users an upgrade email before their trial ends?

Is there a way to send users an upgrade email before their trial ends?
Currently users on a trial just quietly transition to “expired” with no notifications/email.
Also is there somewhere I could find a list of all possible member statuses? Eg active, trialing, expired