mail component implemented