Small update to SendMail plugin