Managing digest emails

Every command should be ran as the pleroma user from it's home directory. For example if you are superuser, you would have to wrap the command in su pleroma -s $SHELL -lc "$COMMAND".

From source note about MIX_ENV

The mix command should be prefixed with the name of environment your Pleroma server is running in, usually it's MIX_ENV=prod

Send digest email since given date (user registration date by default) ignoring user activity status.

 ./bin/pleroma_ctl digest test <nickname> [since_date]
mix pleroma.digest test <nickname> [since_date]

Example:

./bin/pleroma_ctl digest test donaldtheduck 2019-05-20
mix pleroma.digest test donaldtheduck 2019-05-20