proposal-generator / src /__init__.py
kanha-upadhyay's picture
Add recipient email selection to proposal generation and update documentation
6a3bea4
raw
history blame contribute delete
611 Bytes
import os
from dotenv import load_dotenv
from .app import app
load_dotenv()
if not os.getenv("SMTP_SERVER"):
raise ValueError("SMTP_SERVER environment not set.")
if not os.getenv("SMTP_PORT"):
raise ValueError("SMTP_PORT environment not set.")
if not os.getenv("SMTP_USERNAME"):
raise ValueError("SMTP_USERNAME environment not set.")
if not os.getenv("SMTP_PASSWORD"):
raise ValueError("SMTP_PASSWORD environment not set.")
if not os.getenv("SENDER_EMAIL"):
raise ValueError("SENDER_EMAIL environment not set.")
__all__ = ["app"]
__version__ = "0.1.0"
__author__ = "Kanha Upadhyay"