There is one book that anyone seeking to write in English should read. It is The Elements of Style by William Strunk Jr. and E.B. White. It may be nearly a century old, but much of the advice it contains is still applicable today. And it has been revised several times over the years as the English language and technology have changed.
Strunk and White, as it is usually called, is packed full of valuable advice about punctuation, grammar, and writing style. If you are an author (or an aspiring author) you should definitely purchase a copy and read it cover-to-cover. And then read it again. It is the kind of book you can read multiple times and still manage to learn new things.
If you want more in-depth advice on punctuation and grammar, as well as information on formatting publications, then you may wish to purchase The Chicago Manual of Style. It is a much larger (and more expensive) book, and the formatting information it contains is probably of little interest to someone simply planning to publish an ebook. It is designed as a reference for authors, editors, and publishers.