Automatically deleting unconverted leads for GDPR

It would be great to be able to automatically delete unconverted leads from the system for GDPR reasons.
In addition to that it would be good to send an customisable email template out with that action to notify the lead.