If you want to develop this type of application, then you need to research for that.
You can also contact with their developer team to get some idea.
As per my knowledge, you can read the new emails by
POP
[
^] protocol.
Then in your software, modify it by getting all the Email's properties like
Text, Body, Recipient etc. and send it to
someone@example.com
.