Add support for using ~/ relative paths in RazorEmail configuration.