private MailBuilder text(String text, boolean html) { Preconditions.checkNotNull(text, "text can't be null"); Content content = new Content(); content.text = text; content.html = html; contents.add(content); textOnly = contents.size() == 1; return this; }