Refresh mechanism set up. Actual deletion of emails still missing.