def METHOD_NAME(messages):
    """Sends a a bunch of EmailMessages."""
    if not messages:
        return
    conn = mail.get_connection(fail_silently=True)
    conn.open()
    for msg in messages:
        conn.METHOD_NAME([msg])