import os

from huggingface_hub import login
from sendgrid import SendGridAPIClient


def start() -> SendGridAPIClient:
    login("{{hf}}")
    return SendGridAPIClient(os.environ.get("SENDGRID_API_KEY", "{{sendgrid}}"))
