def send_create_list_email(**kargs):
    """ Send the notification mail
    kargs' params:
        user = User object
        password = list's password
        listname = list's name
    """
    to = kargs.get('user', None)
    if not to:
        return

    to = [to.email]
    from_email = settings.COLAB_FROM_ADDRESS
    subject = _('Created list {}.'.format(kargs.get('listname', '')))
    msg_tmpl = loader.get_template('emails/create_list_confirmation.txt')
    message = msg_tmpl.render(Context(kargs))
    return mail.send_mail(subject, message, from_email, to)
Send the notification mail
    kargs' params:
        user = User object
        password = list's password
        listname = list's name