class EmailMessage {

    public String getBccToString() {
        if (getBcc().isEmpty()) {
            return "";
        }
        StringBuilder result = new StringBuilder();
        for (String emailAddress : getBcc()) {
            result.append(emailAddress).append(",");
        }
        // Return the string without the trailing comma
        return result.toString().substring(0, result.toString().length() - 1);
    }

    public  EmailMessage();
    public  EmailMessage(String from, String to, List<String> cc, String subject, String content);
    public  EmailMessage(String from, String to, List<String> cc, List<String> bcc, String subject, String content);

}