added email summary script