adds invite function
adds mailgun to production