Membership Subscription Expiry Email

I have recently started using the WordPress Membership plugin. All seems to go well, however, I'd like to notify my subscribers automatically through mail as their subscription expires - thus reminding them to renew their subscriptions. How can I achieve this? At least can someone please point out the place [code snippet] from where the membership is currently being de-activated once the subscription period expires?

Please help.