Flow_0scd96e Flow_0scd96e Flow_0c60gne Flow_0wv0swo Dear Person, Thank you for using this email example. I hope this makes sense. Yours faithfully, Dan Flow_0c60gne Flow_0xrm7iw if not 'cc' in globals(): cc=None if not 'bcc' in globals(): bcc=None if not 'reply_to' in globals(): reply_to=None if not 'name' in globals(): name = None attachments = [] if 'doc_codes' in globals(): if isinstance(globals()['doc_codes'], str): attachments = globals()['doc_codes'] else: for doc_code in globals()['doc_codes']: attachments.append(doc_code) email_model = email(subject=subject, recipients=recipients, cc=cc, bcc=bcc, reply_to=reply_to, attachments=attachments, name=name) Flow_0xrm7iw Flow_0wv0swo