Mail sample has dedicated services file.
sample mail relies on service declaration.
Enhance mail sample modules.