Email - Lifecycle - Attachments

Inside my lifecycle.js it is

      .findOne({ id:, populate: true });

But the problem is, my attachments keep coming null. What am I missing? When I post it from the frontend, it does post into the backend of Strapi but it doesn't send us an email that we have setup in lifecycle.

<i>This topic has been created from a Discord post (1229497401342165054) to give it more visibility.
It will be on Read-Only mode here.
<a href="">Join the conversation on Discord</a></i>

I really have no clue how to handle this properly, but to use setTimeout with some reasonable delay

The problem is that the media isn’t created during lifecycle

So your need to wait for few seconds and do db.query call after