Hmm it would be great if you could follow Creating consistent admin interfaces (plugin section). Most information you need is there.
Right off the bat I’m going to suggest a few things
- use settings.yml instead of defining your settings in
plugin.rb
add_admin_route "auto_send_messages.title", "auto-send-messages", use_new_show_route: true