With Android 11, the EmailRunApp() command might trigger the error "No application for sending emails was found on the device".
In order to avoid the error, simply add the following permission to your application :
<android.permission.QUERY_ALL_PACKAGES> |