set up mail composer controller, works with the github login controller