email.setContentType(contentType);
}
protected EmailTrigger(List<RecipientProvider> recipientProviders, String recipientList, String replyTo,
String subject, String body, String attachmentsPattern, int attachBuildLog, String contentType) {
email = new EmailType();
email.addRecipientProviders(recipientProviders);
email.setRecipientList(recipientList);
email.setReplyTo(replyTo);
email.setSubject(subject);
email.setBody(body);