currently, the script is hardcoded for emails older than 1 day this is a script because it is a simple operation and probably will be called by a cronjob