bug fixing after testing, email formating and sending option changed