stub email function, fix php formatter