Added functionality to clean email log table.

I think there should be a possibility to clean the email log table. This is my suggested implementation...