def METHOD_NAME(queue, timeout):
    """
    Background process runner
    * Start an SMTP server
    * Send the port number through the queue
    * Receive message via SMTP
    * Send message payload through the queue
    """
    smtpserver = SmtpListener(("0.0.0.0", 0), queue)
    port = smtpserver.get_port()
    queue.put(port)
    logger.debug("Waiting on port %s for OTP email", port)
    asyncore.loop(5, False, None, timeout)
    smtpserver.close()