Solved email problem