Fix layout mail controller