Automation with button: No PDFs attached to email

I have set up a button which first creates 2 PDFs then attaches them to an email and sends the email. However, the emails received have no attachments.
My assumption is that the email is sent before the PDFs are created. It takes a few seconds for the PDFs to appear in the column. What do you think?
I have done a test of another button that sends previously created PDFs and this works (attachments sent and received).

This issue report ties to this one of yours: Internal server error attempting to create 2 PDFs with 1 button click

Your assumption is correct:

The issue will be solved in the next release in some weeks from now.