def init(db, queued_email_model_class):
global _db, _QueuedEmail<EOL>_db = db<EOL>_QueuedEmail = queued_email_model_class<EOL>
:param db: Flask-SQLAlchemy database object
:param queued_email_model_class: Model class (see above example)