added mail function for approving or denying request