def METHOD_NAME(user_email, user_first_name):
    """
    Sends a welcome email to the user after registering via the SendGrid API.
    Parameters
    =====================
    user_email - The email used to register an account.
    user_first_name - The user's first name.
    """
    sg, from_email = set_up_sendgrid()
    to_email = To(
        email=user_email,
        substitutions={
            "-base_frontend_url-": current_app.config.get("BASE_FRONTEND_URL"),
            "-preview_text-": f"Welcome aboard, {user_first_name}! We just wanted to say thank you for signing up to use our app. Climate Mind is an app which helps people start meaningful conversations about climate change.",
            "-user_first_name-": user_first_name,
            "-user_email-": user_email,
        },
    )
    subject = "Welcome to Climate Mind!"
    content = Content("text/html", WELCOME_EMAIL)
    mail = Mail(from_email, to_email, subject, content)
    try:
        sg.send(mail)
    except Exception as e:
        print(e)