Add mail component to build