adds more email functions