Changed mail() method to use setTextBody instead of setBody after updating the interface