Move database to external drive

It would be great to be able to store the database of emails on an external drive. Mine has grown to over 10GB and it uses valuable hard drive space on my internal SSD. It also causes a lengthy backup every time Time Machine backs up my Mac.

It would also be nice to be able to use that external drive to take my email with me on the laptop.