It was just a matter of time.  A former member of Sarah Palin's inner circle has written a book the publisher describes as a scathing tell-all that reveals Palin with all her warts showing.

Billed as the first Palin book by a former insider, it's titled "Blind Allegiance to Sarah Palin: A Memoir of Our Tumultuous Years".  The author, Frank Bailey, bolsters the perception of Palin as self-serving, while casting Bailey as her enforcer — willing to do her dirty work, no questions asked.

The book  is based on thousands of emails Bailey says he kept during his time with Palin. It began in the 2006 Alaska gubernatorial campaign and continued through her failed run for vice president in 2008 and her brief stint as governor.

Bailey claims Palin seemed to lose interest in governing the state after her failed run for vice president.  She was facing a barrage of ethics complaints — nearly all of which were ultimately dismissed.

Bailey says she told him as early as February 2009 "she'd quit tomorrow" if she could find the right message to tell Alaskans.  She resigned in July 2009.

via AP Exclusive: Former Palin aide pens tell-all | National news | Chron.com - Houston Chronicle.

The Alaska attorney general's office is investigating Bailey's use of his archived emails.  State executive ethics laws prohibit former public officials from using information acquired during their work for personal gain if the information hasn't been publicly disseminated.

Bailey's attorney says Bailey took "great care" to be sure his book is consistent with all  legal requirements concerning the use of emails.