added methods for processing communication and sending mail