Fix getFrom method to send mail