Adding mail script, initial stage