Answer:
It's not illegal unless there's fraud involved. There are a number of vendors who provide "email checks" and a "home-grown" version of such a check might be an image (pdf file, perhaps?) of a check attached to an email. There are so many other ways to send money electronically (Venmo, G-Pay, and others) that using a check image seems "old school" even if it's electronic.
--------------------------------------