Mail generator implemented