Test for email-ext publisher

Also add the test fixture as an example in the documentation.

Change-Id: Iff253e52f9aa900bb61c6f621844bab4d8e696f2
Merge "Test for email-ext publisher"