ruby-managesieve is a pure-ruby library implementing the MANAGESIEVE protocol for remote management of ruby scripts.