Added mail testing script.