To contact a Leanpub author, go to the web page on Leanpub where you bought their book. Then, scroll down and click the "Email the Author(s)" link, which will look like this:
If you don't see that link, you can try contacting the author some other way, like on Twitter, for example.
Most Leanpub authors welcome contact from their readers, or potential readers!