Free trial expiry e-mail

Hi, I have had a look around the forums and couldn't find anything about this, or the documentation, though I could have easily missed something.

Is there an option, or an easy way to add in, an e-mail a couple of days before a free trial on pro-sites expires.

I am quite happy to code, especially if there are some hooks I can hook into somewhere, if I can get some guidance.