Added mail method implementation