# talk-kratos


11/02/2021, 12:04 PM
Hello there! We are trying to do a password recovery process and want to send the email ourselves. By ourselves I mean not setting any smtp (internal or external), disabling kratos to send the email. Is that possible? We have already tried getting a recovery link (/recovery/link) without success and today we are trying webhooks, without success until now.


11/02/2021, 12:27 PM
Could you please elaborate? The admin api should work for this,


11/02/2021, 2:24 PM
Thanks for the answer. Since you are telling me this should work, I will repeat the process to describe correctly any problem if they appear
Hello @proud-plumber-24205, I am having a strange issue: after i get the link with the flow and token, if I call whoami setting the ory_session_token as a cookie, it works and return 200 OK with: { "id": "6624b6e6-21a1-484d-ac3b-a89bbf8ac6c6", "active": true, "expires_at": "2021-11-27T194451.869423Z", "authenticated_at": "2021-11-26T194451.869423Z", "issued_at": "2021-11-26T194451.869458Z", "identity": { "id": "e5da3f0f-d2f0-42b8-918b-c0c197d9abd3", "schema_id": "default", "schema_url": "", "state": "active", "state_changed_at": "2021-11-24T230953.205151Z", "traits": { "email": "" }, "verifiable_addresses": [ { "id": "65d90ded-0f71-4dea-b5de-29a1ddc22a8d", "value": "", "verified": false, "via": "email", "status": "pending", "verified_at": null, "created_at": "2021-11-24T230953.207734Z", "updated_at": "2021-11-24T230953.207734Z" } ], "recovery_addresses": [ { "id": "c8fca43a-865e-4442-9ac2-b74e2ee8ba16", "value": "", "via": "email", "created_at": "2021-11-24T230953.208445Z", "updated_at": "2021-11-24T230953.208445Z" } ], "created_at": "2021-11-24T230953.205644Z", "updated_at": "2021-11-24T230953.205644Z" } }
but when i try to start a Settings flow using /self-service/settings/api it says: "This endpoint can only be accessed with a valid session. Please log in and try again" and I cant continue the recovery setting the new password user sent me... can you help please?
Just made a test using the browser flow and seems it works