Scripts for maintaining various types of emails