Fixes smtp and assets pipeline issues