A new mathematical tool for an exact treatment of open quantum system dynamics