switch from rest client to mailgun gem