All the inline javascript code present in email_log.html(which is rendered when the user visits "/emails" in development mode) is transferred to a new file: email_log.js in portico/ directory. Fixes #11608.