Dual language

I email primarily in English but also often in French.  Is there an option like in Microsoft or IOS to switch language (or autodetect language) for the spellcheck?