How to set minimum font size in Gmail

How to set minimum font size in Gmail

I’m scared to think I keep using an email client which has so few configurations. I tried to find how to enforce the minimum font size in Gmail but I failed. Apparently there is no such option. Because emails written in font size 12px were too difficult to read on a small laptop screen, I wrote a script that sets the minimum font height.

As usual when adjusting a web application, I wrote a Violentmonkey script (which is a clone of Greasemonkey).

First, create a new script in your tool and paste the code:


Then just refresh your Gmail web application and open an email. The script should increase all fonts less than 17px, to 17 pixels. The minimum font size is entered in line 12, which you can modify.

The script observes changes to the DOM tree related to the email preview pane, and in the event of a change, it enforces font-size for too small elements.

My related project

Timeline Creator

Create and export timeline graphs using an online tool

I’m aware the script is hacky and will fail in some cases, but so far it’s been working fine for me. If you have any problems with it, just let me know in the comment below.

0 0 votes
Article Rating

Want more?


Notify of
Inline Feedbacks
View all comments
Fabio Montefuscolo
Fabio Montefuscolo
1 year ago

I had to add the following for some special cases

(function(document) {
  const style = document.createElement('style');
  style.textContent = body .a3s, body .g6 { font-size: ${MIN_SIZE}px; };
Would love your thoughts, please comment.x