It seems like apart from sex, there are big communication problems if you address such an important issue on a text message to his workplace.
You love him and want him, so address the porn issue in a loving way, and let him know it upsets you without flying off the handle. Men go through phases like this, it doesn't necessarily mean your marriage has to end, and if you address this with all the love that right now you'd like to express with your body, then you'll end up closer than ever.