Added support to inline-css method.

Some email clients break embedded CSS code. This method converts it to inline CSS for better compatibility.