Thank you for the in-depth response. Its about both I suppose, the idea behind the question was about strategies for integrating with automation, I wasn’t very specific.
A confirmed email will be required for the user to continue through a process, this is currently not included in the automated regression. I’m not concerned about the ‘what’ to check for this bit of work for now, only the method of moving through the journey.
With the intent being essentially to simulate a user responding to an email confirmation email, the question becomes how much would I want to wrap in automated tasks and how easy would that be. It would be straight forward enough for the script to start on the users confirmation landing page passing in fuzzed auth details and continuing from there but I’ve then bypassed the functionality part of the email client that you rightly mentioned above.
I’m coming to realise however that this question may be beyond the scope of such a forum due to it, as you say, depending upon various things. Namely the chosen email client and whether there are any hooks/libraries that would let me interact with it in a test in the chosen language (currently js but may change to Java).
Primarily, I was simply curious if anyone has had to implement such a system test before.