Added the write button to mailgun controller