Use the DokDok API from Ruby
Now that I’ve figured out how to generate OAuth signatures (thanks Bruno Morency of DokDok for your patience and assistance!), I’m able to use the DokDok API to access, query, and filter my IMAP mailboxes programmatically. I wrote a small Ruby class to wrap up the OAuth logic.
If you’re struggling with generating an OAuth signature, try this tool.