Initial mail module implementation.