Line 180: email_path = os.path.join( os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "workflow", "resources", "email.txt" ) ------------------------------------------------------------- "workflow" should be removed as it results in an invalid file path.