'Initialize a single email message (which can be sent to multiple
recipients).
All strings used to create the message can be unicode strings
(or UTF-8 bytestrings). The SafeMIMEText class will handle any
necessary encoding conversions.'

def __init__(self, subject='', body='', from_email=None, to=None, bcc=None, connection=None, attachments=None, headers=None):

    if to:
        assert (not isinstance(to, basestring)), '"to"    argument    must    be    a    list    or    tuple'
        self.to = list(to)
    else:
        self.to = []
    if bcc:
        assert (not isinstance(bcc, basestring)), '"bcc"    argument    must    be    a    list    or    tuple'
        self.bcc = list(bcc)
    else:
        self.bcc = []
    self.from_email = (from_email or settings.DEFAULT_FROM_EMAIL)
    self.subject = subject
    self.body = body
    self.attachments = (attachments or [])
    self.extra_headers = (headers or {})
    self.connection = connection
