fixed scope method in api ScheduledMailsController
[#51813213] if an accountname is required, but none is sent, return an empty array