Add Twilio support and generalize configuration